Package org.apache.maven.plugins.help
Class DescribeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.help.AbstractHelpMojo
org.apache.maven.plugins.help.DescribeMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="describe",
requiresProject=false,
aggregator=true)
public class DescribeMojo
extends AbstractHelpMojo
Displays a list of the attributes for a Maven Plugin and/or goals (aka Mojo - Maven plain Old Java Object).
- Since:
- 2.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.maven.plugin.MavenPluginManager
Component used to get a plugin descriptor from a given plugin.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.AbstractHelpMojo
getAetherArtifact, getMavenProject, resolveArtifact, writeFile, writeFile
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
pluginManager
@Component protected org.apache.maven.plugin.MavenPluginManager pluginManagerComponent used to get a plugin descriptor from a given plugin.
-
-
Constructor Details
-
DescribeMojo
public DescribeMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-