Add custom tags support. This option is only available with Java 1.4.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113165 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse committed 2003-03-21 14:14:19 +00:00
1 parent e4c0d4dad8
commit 368c574c06
1 file changed
+15
+15
View File
@@ -122,6 +122,21 @@
<j:if test="${context.getVariable('maven.javadoc.docletpath') != null}">
<setProperty name="doclet" value="${maven.javadoc.docletpath}" />
</j:if>
<!-- allow custom tags -->
<util:tokenize var="listOfTags" delim=" ">${maven.javadoc.customtags}</util:tokenize>
<j:forEach var="someTag" items="${listOfTags}">
<j:set var="nameVar" value="${someTag}.name"/>
<j:set var="name" value="${context.findVariable(nameVar)}"/>
<j:set var="descriptionVar" value="${someTag}.description"/>
<j:set var="description" value="${context.findVariable(descriptionVar)}"/>
<j:set var="enabledVar" value="${someTag}.enabled"/>
<j:set var="enabled" value="${context.findVariable(enabledVar)}"/>
<j:set var="scopeVar" value="${someTag}.scope"/>
<j:set var="scope" value="${context.findVariable(scopeVar)}"/>
<tag name="${name}" description="${description}"
enabled="${enabled}" scope="${scope}"/>
</j:forEach>
</javadoc>
<record name="${maven.build.dir}/javadoc/report.txt" action="stop" />