tagletpath does not seem to work
--------------------------------

                 Key: MJAVADOC-231
                 URL: http://jira.codehaus.org/browse/MJAVADOC-231
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: benson margulies


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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to