@Mojo(name="pom",
requiresProject=true,
requiresDirectInvocation=true)
public class PomMojo
extends TidyMojo
pom.xml into the canonical order.| Constructor and Description |
|---|
PomMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeForPom(String pom)
Perform whatever build-process behavior this
Mojo implements using the specified POM. |
execute, getPomFile, tidyprotected void executeForPom(String pom) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
TidyMojoMojo implements using the specified POM.executeForPom in class TidyMojopom - the project's POM.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.Copyright © 2011–2017 MojoHaus. All rights reserved.