
|
If you were logged in you would be able to see more operations.
|
|
|
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.
|
|
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. |
Show » |
Sort Order:
|
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.