org.apache.myfaces.buildtools.maven2.plugin.builder
Class MakeConvertersMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Maven goal to generate java source code for Converter classes.

It uses velocity to generate templates, and has the option to define custom templates.

The executed template has the following variables available to it:

Since:
1.0.8
Version:
$Id: MakeConvertersMojo.java 942970 2010-05-11 00:36:14Z lu4242 $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MakeConvertersMojo()
           
 
Method Summary
 boolean canGenerateConverter(ConverterMeta converter)
           
 void execute()
          Execute the Mojo.
 boolean includePackage(ConverterMeta converter)
           
 
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
 

Constructor Detail

MakeConvertersMojo

public MakeConvertersMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Execute the Mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException

canGenerateConverter

public boolean canGenerateConverter(ConverterMeta converter)

includePackage

public boolean includePackage(ConverterMeta converter)


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