[ http://jira.codehaus.org/browse/MJAVADOC-47?page=all ]
Allan Ramirez closed MJAVADOC-47:
---------------------------------
Resolution: Fixed
Applied Patch. Thanks
> Javadoc plugin ignores destDir when used in reporting section
> -------------------------------------------------------------
>
> Key: MJAVADOC-47
> URL: http://jira.codehaus.org/browse/MJAVADOC-47
> Project: Maven 2.x Javadoc Plugin
> Type: Bug
> Reporter: Wendy Smoak
> Assignee: Maria Odea Ching
> Fix For: 2.0-beta-4
> Attachments: MJAVADOC-47-maven-javadoc-plugin.patch
>
>
> When used in the reporting section of the pom and 'mvn site', output always
> goes to target/apidocs, even if you specify an outputDir.
> Having outputDir work correctly would by useful with alternate doclets, for
> example sending the output of the UMLGraph doclet to target/uml so that it
> can be further transformed.
> This seems to be the code that's doing it:
> if ( !javadocDirectory.getAbsolutePath().equals( getOutputDirectory()
> ) )
> {
> // we're in site-embedded report mode, so Doxia has set the
> // reportOutputDirectory to the basedir of the site.
> // Append 'apidocs'.
> javadocDirectory = new File( javadocDirectory, "apidocs" );
> }
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]