@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 and 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
|
Constructor and Description |
---|
DisplayInfoMojo() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
execute()
Entry point to the mojo
|
@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.Contextualizable
org.codehaus.plexus.context.ContextException
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.