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

@Mojo(name="evaluate",
      requiresProject=false)
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 1446806 2013-02-15 23:07:28Z rfscholte $
Author:
Vincent Siveton

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

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


project

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


settings

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

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-2013 The Apache Software Foundation. All Rights Reserved.