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

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

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

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:

Version:
$Id: MakeValidatorTagsMojo.java 1031906 2010-11-06 01:18:03Z lu4242 $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MakeValidatorTagsMojo()
           
 
Method Summary
 boolean canGenerateValidatorTag(ValidatorMeta component)
           
 void execute()
          Execute the Mojo.
 boolean includeId(ValidatorMeta validator)
           
 boolean includePackage(ValidatorMeta validator)
           
 
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

MakeValidatorTagsMojo

public MakeValidatorTagsMojo()
Method Detail

execute

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

Throws:
org.apache.maven.plugin.MojoExecutionException

canGenerateValidatorTag

public boolean canGenerateValidatorTag(ValidatorMeta component)

includePackage

public boolean includePackage(ValidatorMeta validator)

includeId

public boolean includeId(ValidatorMeta validator)


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