org.twdata.maven.cli
Class ExecuteCliMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.twdata.maven.cli.ExecuteCliMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Provides an interactive command line interface for Maven plugins, allowing users to execute plugins directly.


Field Summary
protected  org.apache.maven.plugin.PluginManager pluginManager
          The Maven PluginManager Object
protected  org.apache.maven.project.MavenProject project
          The Maven Project Object
protected  java.util.List reactorProjects
          The reactor projects.
protected  org.apache.maven.execution.MavenSession session
          The Maven Session Object
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExecuteCliMojo()
           
 
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

project

protected org.apache.maven.project.MavenProject project
The Maven Project Object


session

protected org.apache.maven.execution.MavenSession session
The Maven Session Object


pluginManager

protected org.apache.maven.plugin.PluginManager pluginManager
The Maven PluginManager Object


reactorProjects

protected java.util.List reactorProjects
The reactor projects.

Constructor Detail

ExecuteCliMojo

public ExecuteCliMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2009. All Rights Reserved.