[ http://jira.codehaus.org/browse/MOJO-220?page=comments#action_55019 ] 

mike perham commented on MOJO-220:
----------------------------------

Dupe of JXR-6

> maven 2 jxr plugin puts wrong javadoc link
> ------------------------------------------
>
>          Key: MOJO-220
>          URL: http://jira.codehaus.org/browse/MOJO-220
>      Project: Mojo
>         Type: Bug

>   Components: jxr
>     Reporter: Lee Meador
>     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

Reply via email to