Plugin documentation
Goals available:
| Goal | Description |
|---|---|
| myfaces-builder:make-client-behaviors | Maven goal to generate java source code for Behavior 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:
|
| myfaces-builder:make-converters | 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:
|
| myfaces-builder:make-validators | Maven goal to generate java source code for Validator 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:
|
| myfaces-builder:make-validator-tags | 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:
|
| myfaces-builder:make-converter-tags | 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:
|
| myfaces-builder:make-tags | 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:
|
| myfaces-builder:unpack | Goal that retrieves a list of artifacts from the repository and unpacks them
in a defined location.
This mojo reutilize org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo from maven-dependency-plugin. The idea of this plugin, instead just unpack a list of artifacts is add some new features necessary to make easier maintain 1.1 and 1.2 code on myfaces projects like tomahawk. This plugin works as unpack goal of maven-dependency-plugin with 2 additional enhancements:
|
| myfaces-builder:build-metadata | Maven goal which runs one or more ModelBuilder objects to gather metadata
about JSF artifacts into a Model object, then save that model object as an
xml file for use by other goals of this plugin.
By default, the generated file is named "META-INF/myfaces-metadata.xml". This file will be included in the final artifact for this project. Having that metadata file embedded in the generated jarfile is useful for two purposes:
Note that the generated file contains all the metadata needed by this project, including a copy of all the metadata from other projects that this one depends on. All other goals of this plugin can execute with just the generated metadata as input, without needing to load other projects. Each entry in the metadata is labelled with a "modelId" property that indicates where it originally came from. |
| myfaces-builder:make-components | Maven goal to generate java source code for Component 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:
|
| myfaces-builder:make-config | Creates taglib (tld) and faces-config files.
This Mojo actually provides a generic goal that will run a configurable velocity template file and generate a single output file. The template is passed the full metadata model object, and can select from the model whatever data it wants. The execution can be configured with:
The executed template has the following variables available to it:
|
| myfaces-builder:tagdoc-content | Generate the tag doc content pages using velocity. This is done before site, because maven-site-plugin use velocity and if we do this inside report generation, we cause a ClassLoader problem. |
| myfaces-builder:tagdoc-index | Report for generating JSF tagdoc index based on myfaces-metadata.xml parsing. The content is generated using velocity in xdoc files (see TagdocContentMojo). |