Package org.codehaus.mojo.tidy
Class PomMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.tidy.TidyMojo
org.codehaus.mojo.tidy.PomMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
Tidy up the
pom.xml
into the canonical order.-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeForPom
(String pom) Perform whatever build-process behavior thisMojo
implements using the specified POM.Methods inherited from class org.codehaus.mojo.tidy.TidyMojo
execute, getPomFile, tidy
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PomMojo
public PomMojo()
-
-
Method Details
-
executeForPom
protected void executeForPom(String pom) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException Description copied from class:TidyMojo
Perform whatever build-process behavior thisMojo
implements using the specified POM.- Specified by:
executeForPom
in classTidyMojo
- Parameters:
pom
- the project's POM.- Throws:
org.apache.maven.plugin.MojoExecutionException
- if an unexpected problem occurs. Throwing this exception causes a "BUILD ERROR" message to be displayed.org.apache.maven.plugin.MojoFailureException
- if an expected problem (such as a compilation failure) occurs. Throwing this exception causes a "BUILD FAILURE" message to be displayed.
-