Maven 2.x Javadoc Plugin

Additional doclets do not run.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    2

Description

Although it is stated in the docs [1] that you can generate alternate doclet in addition to the project javadocs, only the first reportSet is run.

This is due to the fact that JavadocReport#getOutputName(...) returns a fixed value, "apidocs/index". This should be configurable per reportSet.

[1] http://maven.apache.org/plugins/maven-javadoc-plugin/configuration.html

  1. MJAVADOC-81
    02/Aug/06 11:05 PM
    2 kB
    Shinobu Kawai
  2. pom.xml
    02/Aug/06 11:03 PM
    2 kB
    Shinobu Kawai

Issue Links

Activity

Hide
Wendy Smoak added a comment -

Can you post the config that is not working?

I was able to run the UmlGraph doclet in addition to the normal Javadoc doclet by:
1. assigning an <id> to each <reportSet>
2. Using <destDir> to direct the output of the second doclet somewhere else.

Show
Wendy Smoak added a comment - Can you post the config that is not working? I was able to run the UmlGraph doclet in addition to the normal Javadoc doclet by: 1. assigning an <id> to each <reportSet> 2. Using <destDir> to direct the output of the second doclet somewhere else.
Hide
Shinobu Kawai added a comment -

The pom that doesn't work.

I get the following in the log:
[INFO] Skipped "JavaDocs" report, file "apidocs/index.html" already exists for the English version.

Show
Shinobu Kawai added a comment - The pom that doesn't work. I get the following in the log: [INFO] Skipped "JavaDocs" report, file "apidocs/index.html" already exists for the English version.
Hide
Shinobu Kawai added a comment -

Patch to expose name, description, and outputName.

Applied, I can add the following to my pom to make it work:
...
<configuration>
<name>DocCheck</name>
<description>DocCheck documentation</description>
<outputName>doccheck/index</outputName>
...

Show
Shinobu Kawai added a comment - Patch to expose name, description, and outputName. Applied, I can add the following to my pom to make it work: ... <configuration> <name>DocCheck</name> <description>DocCheck documentation</description> <outputName>doccheck/index</outputName> ...
Hide
Vincent Siveton added a comment -

Applied with destDir instead of outputName
Thanks!

Show
Vincent Siveton added a comment - Applied with destDir instead of outputName Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: