Issue Details (XML | Word | Printable)

Key: MJAVADOC-84
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Siveton
Reporter: Frank Cornelis
Votes: 0
Watchers: 0
Operations

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

destDir not used when generating a site

Created: 16/Aug/06 03:38 AM   Updated: 04/Sep/06 07:44 AM   Resolved: 04/Sep/06 07:44 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide

When I run 'mvn site' I want to generate javadocs for my library. Since I have multiple versions of my library, I also want to keep old javadocs, for previous versions of my library, available on the site.
For this I use the destDir configuration parameter, which I set to ${project.build.directory}/site/apidocs-${project.version}. That way the javadocs indeed get generated under, for example, apidocs-1.3-SNAPSHOT, but the generated site still points to the empty apidocs directory.



Shinobu Kawai added a comment - 16/Aug/06 11:04 AM

The patch for MJAVADOC-81 will expose outputName, which will override the link to the javadocs. Then, you can set it to "apidocs-${project.version}/index", and the link should be fixed.


Vincent Siveton added a comment - 04/Sep/06 07:44 AM

Fixed due MJAVADOC-81.
For more information, refer to alternate-doclet page.