Template Files
The plugin uses apache velocity to generate several types of files like component classes, tag classes, configuration files and others.
In this way, the plugin provides flexibility, allowing users to write custom templates to fit their needs.
Template examples can be found inside myfaces-builder-plugin jar file on META-INF directory.
All velocity template files by default should be on src/main/resource/META-INF path of your project. The plugin tries to find the template first there and then on the plugin jar, so you can override the base template copying it from the jar to this path.
You can find template examples in the following locations:
- myfaces core project source code.
- tomahawk core, core12 and sandbox core, core12 source code.
- myfaces commons source code ( converters and validators ).
As new release of builder plugin continues, new templates will be added to myfaces-builder-plugin jar, but the latest ones can be found on the previous locations.