You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lee Meador (JIRA)" <ji...@codehaus.org> on 2006/01/05 23:14:09 UTC

[jira] Created: (MNG-1926) maven 2 jxr plugin puts wrong javadoc link

maven 2 jxr plugin puts wrong javadoc link
------------------------------------------

         Key: MNG-1926
         URL: http://jira.codehaus.org/browse/MNG-1926
     Project: Maven 2
        Type: Bug

  Components: Plugins and Lifecycle  
    Versions: 2.0.1    
    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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org