Package com.cosium.code.format
Class OnPreCommitMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.cosium.code.format.AbstractMavenGitCodeFormatMojo
-
- com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
-
- com.cosium.code.format.OnPreCommitMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="on-pre-commit", defaultPhase=NONE, threadSafe=true) public class OnPreCommitMojo extends AbstractModuleMavenGitCodeFormatMojoCreated on 01/11/17.- Author:
- Reda.Housni-Alaoui
-
-
Field Summary
-
Fields inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
HOOKS_DIR
-
-
Constructor Summary
Constructors Constructor Description OnPreCommitMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute()-
Methods inherited from class com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
execute
-
Methods inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
artifactId, codeFormatters, getOrCreateHooksDirectory, gitBaseDir, gitRepository, isExecutionRoot, pomFile, sourceDirs, targetDir
-
-
-
-
Method Detail
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
doExecutein classAbstractModuleMavenGitCodeFormatMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-