Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-231

tagletpath does not seem to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.6
    • 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>

      Attachments

        Activity

          People

            siveton Siveton Vincent
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: