Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: maven2 jxr plugin
-
Labels:None
-
Number of attachments :
Description
There are too many '../'s in the link to the javadocs that is generated at the top of each page of java class source code. I have moved the javadocs to $
{project.build.directory}/site/javadoc/ (which is given to the javadoc plugin and then told the jxr plugin that they were at ${project.build.directory}/site/javadoc/apidocs/ which takes into account how the javadocs are built. The link has way too many .. parts to the path and backs up all the way to the top of my web site instead of just to the folder equivalent to "site"
The xml is:
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
<configuration>
<javadocDir>$
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<destDir>${project.build.directory}
/site/javadoc/</destDir>
</configuration>
</plugin>
...
Sorry to put this issue here. It needs moving but there is no MNGJXR and MPJXR seemed to be the maven1 jxr plugin. I assume it will be moved to the right place. (and thanks)
Issue Links
- duplicates
-
JXR-6
Javadoc linked incorrectly
-
Dupe of
JXR-6