Apply MAVEN-894

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-10-08 16:22:00 +00:00
parent 46fcbb1f52
commit 2f60e33976
4 changed files with 37 additions and 1 deletions

View File

@ -193,6 +193,13 @@
enabled="${enabled}" scope="${scope}"/> enabled="${enabled}" scope="${scope}"/>
</j:forEach> </j:forEach>
<!-- allow taglets -->
<util:tokenize var="listOfTaglets" delim="," trim="true">${maven.javadoc.taglets}</util:tokenize>
<j:set var="tagletPath" value="${context.getVariable('maven.javadoc.tagletpath')}" />
<j:forEach var="someTaglet" items="${listOfTaglets}">
<ant:taglet name="${someTaglet}" path="${tagletPath}" />
</j:forEach>
</ant:javadoc> </ant:javadoc>
<ant:record name="${maven.build.dir}/javadoc/report.txt" action="stop" /> <ant:record name="${maven.build.dir}/javadoc/report.txt" action="stop" />

View File

@ -5,7 +5,7 @@
<pomVersion>3</pomVersion> <pomVersion>3</pomVersion>
<id>maven-javadoc-plugin</id> <id>maven-javadoc-plugin</id>
<name>Maven Javadoc Plug-in</name> <name>Maven Javadoc Plug-in</name>
<currentVersion>1.3</currentVersion> <currentVersion>1.4-SNAPSHOT</currentVersion>
<description/> <description/>
<shortDescription>Produce Javadocs and report</shortDescription> <shortDescription>Produce Javadocs and report</shortDescription>
<url>http://maven.apache.org/reference/plugins/javadoc/</url> <url>http://maven.apache.org/reference/plugins/javadoc/</url>

View File

@ -7,6 +7,13 @@
</properties> </properties>
<body> <body>
<release version="1.4" date="in CVS">
<action dev="dion" type="add">
Applied MAVEN-894. Allow custom taglets.
</action>
</release>
<release version="1.3" date="2003-09-29"> <release version="1.3" date="2003-09-29">
<action dev="evenisse" type="add"> <action dev="evenisse" type="add">
MAVEN-639. Add maven.javadoc.overview property. MAVEN-639. Add maven.javadoc.overview property.

View File

@ -164,6 +164,28 @@ maven.javadoc.offlineLinks=http://java.sun.com/j2se/1.4.2/docs/api/#/opt/java-ap
ant javadoc task</a> documentation for more detail. ant javadoc task</a> documentation for more detail.
</td> </td>
</tr> </tr>
<tr>
<td>maven.javadoc.taglets</td>
<td>Yes</td>
<td>
Comma separated list of taglet classes to use when calling javadoc
(use fully-qualified class names).
You must also set <a href="#maven.javadoc.tagletpath">
maven.javadoc.tagletpath</a>.
See <a href="http://ant.apache.org/manual/CoreTasks/javadoc.html">the
ant javadoc task</a> documentation for more detail.
</td>
</tr>
<tr>
<td><a name="maven.javadoc.tagletpath">maven.javadoc.tagletpath</a></td>
<td>Yes</td>
<td>
Specifies the path to the taglet classes when calling javadoc
with taglets. See
<a href="http://ant.apache.org/manual/CoreTasks/javadoc.html">the
ant javadoc task</a> documentation for more detail.
</td>
</tr>
<tr> <tr>
<td>maven.javadoc.use</td> <td>maven.javadoc.use</td>
<td>Yes</td> <td>Yes</td>