org.apache.maven.plugins.enforcer
Class DisplayInfoMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.enforcer.DisplayInfoMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, Contextualizable

public class DisplayInfoMojo
extends org.apache.maven.plugin.AbstractMojo
implements 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

Field Summary
protected  PlexusContainer container
           
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
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DisplayInfoMojo()
           
 
Method Summary
 void contextualize(Context context)
           
 void execute()
          Entry point to the mojo
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

translator

protected org.apache.maven.project.path.PathTranslator translator
Path Translator needed by the ExpressionEvaluator

Is a Plexus component defined by:
role:
org.apache.maven.project.path.PathTranslator

session

protected org.apache.maven.execution.MavenSession session
The MavenSession

Is defined by:
default-value:
${session}
Is readonly.

project

protected org.apache.maven.project.MavenProject project
POM

Is defined by:
default-value:
${project}
Is readonly.
Is required.

container

protected PlexusContainer container
Constructor Detail

DisplayInfoMojo

public DisplayInfoMojo()
Method Detail

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Entry point to the mojo

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.