org.apache.maven.plugins.help
Class EvaluateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.help.EvaluateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class EvaluateMojo
extends org.apache.maven.plugin.AbstractMojo

Evaluates Maven expressions given by the user in an interactive mode.

Since:
2.1
Version:
$Id: EvaluateMojo.java 926029 2010-03-22 11:07:32Z bentmann $
Author:
Vincent Siveton
Is defined by the goal name:
evaluate
Requires a Maven project to run:
false

Field Summary
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
          Local Repository.
protected  org.apache.maven.project.MavenProject project
          The current Maven project or the super pom.
protected  org.apache.maven.settings.Settings settings
          The system settings for Maven.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EvaluateMojo()
           
 
Method Summary
 void execute()
          
 
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

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
Local Repository.

Is defined by:
expression:
${localRepository}
Is readonly.
Is required.

project

protected org.apache.maven.project.MavenProject project
The current Maven project or the super pom.

Is defined by:
expression:
${project}
Is readonly.
Is required.

settings

protected org.apache.maven.settings.Settings settings
The system settings for Maven.

Is defined by:
expression:
${settings}
Is readonly.
Is required.
Constructor Detail

EvaluateMojo

public EvaluateMojo()
Method Detail

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


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.