Package com.cosium.code.format
Class AbstractModuleMavenGitCodeFormatMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.cosium.code.format.AbstractMavenGitCodeFormatMojo
com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractFormatMojo,OnPreCommitMojo
- Author:
- Réda Housni Alaoui
-
Field Summary
Fields inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
HOOKS_DIRFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cosium.code.format.AbstractMavenGitCodeFormatMojo
artifactId, codeFormatters, getOrCreateHooksDirectory, gitBaseDir, gitRepository, isExecutionRoot, pomFile, sourceDirs, targetDirMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractModuleMavenGitCodeFormatMojo
public AbstractModuleMavenGitCodeFormatMojo()
-
-
Method Details
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
doExecute
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-