Package com.cosium.code.format
Class InstallHooksMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.cosium.code.format.AbstractMavenGitCodeFormatMojo
-
- com.cosium.code.format.InstallHooksMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="install-hooks", defaultPhase=INITIALIZE, threadSafe=true) public class InstallHooksMojo extends AbstractMavenGitCodeFormatMojoInstalls git hooks on each initialization. Hooks are always overriden in case of changes in:- maven installation
- plugin structure
-
-
Field Summary
-
Fields inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
HOOKS_DIR
-
-
Constructor Summary
Constructors Constructor Description InstallHooksMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
artifactId, codeFormatters, getOrCreateHooksDirectory, gitBaseDir, gitRepository, isExecutionRoot, pomFile, sourceDirs, targetDir
-
-