Generates tld files from directories of jsp 2.0 tag files.
Mojo Attributes:
generate-resources
Name | Type | Description |
---|---|---|
outputDir | File |
Output dir for tld files. |
version | String |
Version added to tld files, defaults to project version. |
Name | Type | Description |
---|---|---|
tagDir | File |
Directory containing tag files. Subdirectories are also processed. |
taglibs | List |
Detailed configuration for taglibs for tld generation. Starting with version 2.4 you can configure multiple
taglibs with this attribute, and for each taglib you can add both tagfiles dir than classes with EL functions
(note that EL function support is preliminary, the resulting tld does not include anything in the "description"
attribute (that would require parsing javadocs from sources.
<taglibs> <taglib> <description>A test tld that contains functions</description> <shortName>test</shortName> <uri>testuri</uri> <outputname>testtaglib</outputname> <functionClasses> <functionClass>org.apache.commons.lang.StringUtils</functionClass> </functionClasses> <tagdir>src/tagfiles</tagdir> </taglib> </taglibs> |
Output dir for tld files.
java.io.File
Yes
${project.build.outputDirectory}/META-INF
Directory containing tag files. Subdirectories are also processed.
java.io.File
No
src/main/resources/META-INF/tags/
Detailed configuration for taglibs for tld generation. Starting with version 2.4 you can configure multiple taglibs with this attribute, and for each taglib you can add both tagfiles dir than classes with EL functions (note that EL function support is preliminary, the resulting tld does not include anything in the "description" attribute (that would require parsing javadocs from sources.
<taglibs> <taglib> <description>A test tld that contains functions</description> <shortName>test</shortName> <uri>testuri</uri> <outputname>testtaglib</outputname> <functionClasses> <functionClass>org.apache.commons.lang.StringUtils</functionClass> </functionClasses> <tagdir>src/tagfiles</tagdir> </taglib> </taglibs>
java.util.List
No
Version added to tld files, defaults to project version.
java.lang.String
Yes
${project.version}