Class ValidateCodeFormat
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.cosium.code.format.AbstractMavenGitCodeFormatMojo
com.cosium.code.format.AbstractModuleMavenGitCodeFormatMojo
com.cosium.code.format.AbstractFormatMojo
com.cosium.code.format.ValidateCodeFormat
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="validate-code-format",
defaultPhase=VERIFY,
threadSafe=true)
public class ValidateCodeFormat
extends AbstractFormatMojo
- Author:
- Réda Housni Alaoui
-
Field Summary
Fields inherited from class AbstractMavenGitCodeFormatMojo
HOOKS_DIRFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocess(CodeFormatters codeFormatters, Path path) Methods inherited from class AbstractFormatMojo
doExecuteMethods inherited from class AbstractModuleMavenGitCodeFormatMojo
executeMethods inherited from class AbstractMavenGitCodeFormatMojo
artifactId, collectCodeFormatters, getOrCreateHooksDirectory, gitBaseDir, gitRepository, isExecutionRoot, pomFile, sourceDirs, targetDirMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ValidateCodeFormat
public ValidateCodeFormat()
-
-
Method Details
-
process
protected void process(CodeFormatters codeFormatters, Path path) throws org.apache.maven.plugin.MojoFailureException - Specified by:
processin classAbstractFormatMojo- Throws:
org.apache.maven.plugin.MojoFailureException
-