Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
None
Description
I get ClassNotFound errors when I try to use tagletpath to indicate the location of taglet classes that are just sitting out, not in a jar.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Error - Exception java.lang.ClassNotFoundException thrown while trying to register Taglet org.odftoolkit.doctag.OdfLinkTaglet...
javadoc: error - Error - Exception java.lang.ClassNotFoundException thrown while trying to register Taglet org.odftoolkit.doctag.AttributeNameTaglet...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doctitle>ODFDOM</doctitle>
<overview>src/resources/overview.html</overview>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
<link>http://xerces.apache.org/xerces-j/apiDocs/</link>
</links>
<splitindex>true</splitindex>
<windowtitle>ODFDOM API v${project.version} - http://odftoolkit</windowtitle>
<taglets>
<taglet>
<tagletClass>org.odftoolkit.doctag.OdfLinkTaglet</tagletClass>
<tagletpath>${basedir}/target/classes</tagletpath>
</taglet>
<taglet>
<tagletClass>org.odftoolkit.doctag.AttributeNameTaglet</tagletClass>
<tagletpath>${basedir}/target/classes</tagletpath>
</taglet>
</taglets>
</configuration>
</plugin>