org.apache.myfaces.buildtools.maven2.plugin.builder
Class MakeConverterTagsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.myfaces.buildtools.maven2.plugin.builder.AbstractBuilderMojo
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MakeConverterTagsMojo
- extends AbstractBuilderMojo
Maven goal to generate java source code for Component tag 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:
- utils : Returns an instance of
org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MyfacesUtils,
it contains some useful methods.
- converter : Returns the current instance of
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ConverterMeta
- Version:
- $Id: MakeConverterTagsMojo.java 1197294 2011-11-03 20:02:30Z lu4242 $
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
MakeConverterTagsMojo
public MakeConverterTagsMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Execute the Mojo.
- Throws:
org.apache.maven.plugin.MojoExecutionException
canGenerateConverterTag
public boolean canGenerateConverterTag(ConverterMeta component)
includePackage
public boolean includePackage(ConverterMeta converter)
includeId
public boolean includeId(ConverterMeta converter)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.