Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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.
Issue Links
| This issue relates to: | ||||
| MJAVADOC-81 | Additional doclets do not run. |
|
|
|
The patch for
MJAVADOC-81will 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.MJAVADOC-81will 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.