org.apache.maven.plugins.enforcer
Class DisplayInfoMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.enforcer.DisplayInfoMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class DisplayInfoMojo
- extends AbstractMojo
- implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
This goal displays the current platform information.
- Version:
- $Id: DisplayInfoMojo.java 1127643 2011-05-25 19:24:38Z krosenvold $
- Author:
- Brian Fox
- Is defined by the goal name:
- display-info
- Mojo is thread safe:
- true
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
contextualize(org.codehaus.plexus.context.Context context)
|
void |
execute()
Entry point to the mojo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
translator
protected PathTranslator translator
- Path Translator needed by the ExpressionEvaluator
- Is a Plexus component defined by:
- role:
- org.apache.maven.project.path.PathTranslator
session
protected MavenSession session
- The MavenSession
- Is defined by:
- default-value:
- ${session}
- Is readonly.
project
protected MavenProject project
- POM
- Is defined by:
- default-value:
- ${project}
- Is readonly.
- Is required.
container
protected org.codehaus.plexus.PlexusContainer container
DisplayInfoMojo
public DisplayInfoMojo()
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
execute
public void execute()
throws MojoExecutionException
- Entry point to the mojo
- Specified by:
execute
in interface Mojo
- Throws:
MojoExecutionException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.