Package org.apache.maven.plugins.help
Class EffectivePomMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.help.AbstractHelpMojo
org.apache.maven.plugins.help.AbstractEffectiveMojo
org.apache.maven.plugins.help.EffectivePomMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="effective-pom",
aggregator=true)
public class EffectivePomMojo
extends AbstractEffectiveMojo
Displays the effective POM as an XML for this build, with the active profiles factored in, or a specified artifact.
If
verbose
, a comment is added to each XML element describing the origin of the line.- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.plugins.help.AbstractEffectiveMojo
AbstractEffectiveMojo.SortedProperties
-
Field Summary
Fields inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
LINE_LENGTH, LS, output, project, projectBuilder, repositorySystem, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugins.help.AbstractEffectiveMojo
prettyFormat, writeComment, writeHeader, writeXmlFile
Methods inherited from class org.apache.maven.plugins.help.AbstractHelpMojo
getAetherArtifact, getMavenProject, resolveArtifact, writeFile, writeFile
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
EffectivePomMojo
public EffectivePomMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-