org.codehaus.mojo
Class AbstractJellyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.AbstractJellyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public abstract class AbstractJellyMojo
extends org.apache.maven.plugin.AbstractMojo

Abstract class to easily implement a Jelly plugin. A typical 'one goal' jelly plugin project can be fired with the provided maven archetype 'jellymojo-maven-archetype'

Version:
$Id: AbstractJellyMojo.java 2166 2006-07-18 21:32:16Z carlos $
Author:
?ric BURGHARD

Field Summary
protected  java.util.HashMap params
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractJellyMojo()
           
 
Method Summary
 void execute()
          Execute the .jelly script associated with the concrete class
 void setParams()
          Used to populate a map containing the plugin's parameters in concrete classes.
 
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

params

protected java.util.HashMap params
Constructor Detail

AbstractJellyMojo

public AbstractJellyMojo()
Method Detail

setParams

public void setParams()
Used to populate a map containing the plugin's parameters in concrete classes. Plugin's parameters are declared by the means of private members's javadoc annotations


execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Execute the .jelly script associated with the concrete class

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2009. All Rights Reserved.