org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable@Mojo(name="display-info",
threadSafe=true)
public class DisplayInfoMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Modifier and Type | Field | Description |
|---|---|---|
protected org.codehaus.plexus.PlexusContainer |
container |
|
protected org.apache.maven.plugin.MojoExecution |
mojoExecution |
MojoExecution needed by the ExpressionEvaluator
|
protected org.apache.maven.project.MavenProject |
project |
POM
|
protected org.apache.maven.execution.MavenSession |
session |
The MavenSession
|
protected org.apache.maven.project.path.PathTranslator |
translator |
Path Translator needed by the ExpressionEvaluator
|
| Constructor | Description |
|---|---|
DisplayInfoMojo() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
|
void |
execute() |
Entry point to the mojo
|
@Component(role=org.apache.maven.project.path.PathTranslator.class) protected org.apache.maven.project.path.PathTranslator translator
@Parameter(defaultValue="${mojoExecution}",
readonly=true,
required=true)
protected org.apache.maven.plugin.MojoExecution mojoExecution
@Parameter(defaultValue="${session}",
readonly=true,
required=true)
protected org.apache.maven.execution.MavenSession session
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
protected org.codehaus.plexus.PlexusContainer container
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.