[
http://jira.codehaus.org/browse/JXR-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174683#action_174683
]
Malachi de AElfweald commented on JXR-40:
-----------------------------------------
crossposting to:
http://jira.codehaus.org/browse/JXR-6
http://jira.codehaus.org/browse/JXR-40
http://jira.codehaus.org/browse/JXR-38
the root cause of this seems to be that the JXR plugin and the JAVADOC plugin
have different expectations
the javadoc plugin needs:
<destDir>apidocs</destDir>
the jxr plugin needs:
<javadocDir>target/site/apidocs</javadocDir>
> maven 2 jxr plugin puts wrong javadoc link
> ------------------------------------------
>
> Key: JXR-40
> URL: http://jira.codehaus.org/browse/JXR-40
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Reporter: Lee Meador
> Assignee: Brett Porter
> Priority: Minor
>
> 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>${project.build.directory}/site/javadoc/apidocs/</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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira