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:
ContextEnabled, Mojo

@Mojo(name="evaluate",
      requiresProject=false)
public class EvaluateMojo
extends AbstractMojo

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

Since:
2.1
Version:
$Id: EvaluateMojo.java 1446806 2013-02-15 23:07:28Z rfscholte $
Author:
Vincent Siveton

Field Summary
protected  ArtifactRepository localRepository
          Local Repository.
protected  MavenProject project
          The current Maven project or the super pom.
protected  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

@Parameter(defaultValue="${localRepository}",
           required=true,
           readonly=true)
protected ArtifactRepository localRepository
Local Repository.


project

@Component
protected MavenProject project
The current Maven project or the super pom.


settings

@Component
protected Settings settings
The system settings for Maven.

Constructor Detail

EvaluateMojo

public EvaluateMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Throws:
MojoExecutionException
MojoFailureException


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