@Mojo(defaultPhase=VALIDATE,
name="check-format",
threadSafe=true)
public class CheckFormatMojo
extends AbstractXmlMojo
AbstractXmlMojo.CatalogHandling| Constructor and Description |
|---|
CheckFormatMojo()
Creates a new
CheckFormatMojo instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Called by Maven for executing the Mojo.
|
void |
setIndentSize(int indentSize)
Sets the number of spaces for indentation.
|
activateProxy, asAbsoluteFile, asFiles, getBasedir, getCatalogHandling, getExcludes, getFileNames, getFiles, getLocator, getProject, getResolver, getResource, isSkipping, passivateProxy, setCatalogspublic CheckFormatMojo()
CheckFormatMojo instance.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - Running the Mojo failed.org.apache.maven.plugin.MojoFailureException - A configuration error was detected.public void setIndentSize(int indentSize)
indentSize - the number of spacesCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.