Class AbstractMavenGitCodeFormatMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    AbstractModuleMavenGitCodeFormatMojo, InstallHooksMojo

    public abstract class AbstractMavenGitCodeFormatMojo
    extends org.apache.maven.plugin.AbstractMojo
    Created on 01/11/17.
    Author:
    Reda.Housni-Alaoui
    • Constructor Detail

      • AbstractMavenGitCodeFormatMojo

        public AbstractMavenGitCodeFormatMojo()
    • Method Detail

      • gitRepository

        protected final org.eclipse.jgit.lib.Repository gitRepository()
      • pomFile

        protected final Path pomFile()
      • sourceDirs

        protected final List<Path> sourceDirs()
      • targetDir

        protected final Path targetDir()
      • artifactId

        protected final String artifactId()
      • isExecutionRoot

        protected final boolean isExecutionRoot()
      • getOrCreateHooksDirectory

        protected final Path getOrCreateHooksDirectory()
        Get or creates the git hooks directory
        Returns:
        The git hooks directory
      • gitBaseDir

        protected final Path gitBaseDir()