Issue Details (XML | Word | Printable)

Key: MJAVADOC-81
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Vincent Siveton
Reporter: Shinobu Kawai
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Javadoc Plugin

Additional doclets do not run.

Created: 02/Aug/06 07:44 PM   Updated: 04/Sep/06 07:42 AM   Resolved: 04/Sep/06 07:42 AM
Return to search
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.1

Time Tracking:
Not Specified

File Attachments: 1. Text File MJAVADOC-81 (2 kB)
2. XML File pom.xml (2 kB)

Issue Links:
Related
 


 Description  « Hide

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



Wendy Smoak added a comment - 02/Aug/06 07:54 PM

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.


Shinobu Kawai added a comment - 02/Aug/06 11:03 PM

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.


Shinobu Kawai made changes - 02/Aug/06 11:03 PM
Field Original Value New Value
Attachment pom.xml [ 22023 ]
Shinobu Kawai added a comment - 02/Aug/06 11:05 PM

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>
...


Shinobu Kawai made changes - 02/Aug/06 11:05 PM
Attachment MJAVADOC-81 [ 22024 ]
Shinobu Kawai made changes - 16/Aug/06 11:04 AM
Link This issue is related to MJAVADOC-84 [ MJAVADOC-84 ]
Vincent Siveton added a comment - 04/Sep/06 07:42 AM

Applied with destDir instead of outputName
Thanks!


Vincent Siveton made changes - 04/Sep/06 07:42 AM
Assignee Vincent Siveton [ siveton ]
Fix Version/s 2.1 [ 12614 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]