You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/03/31 21:32:19 UTC

[jira] Moved: (JXR-40) maven 2 jxr plugin puts wrong javadoc link

     [ http://jira.codehaus.org/browse/JXR-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MJXR-4 to JXR-40:
------------------------------------

        Key: JXR-40  (was: MJXR-4)
    Project: Maven JXR  (was: Maven 2.x JXR Plugin)

> 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
>            Reporter: Lee Meador
>         Assigned To: 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