You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2006/03/04 07:49:13 UTC

[jira] Updated: (MJAVADOC-47) Javadoc plugin ignores destDir when used in reporting section

     [ http://jira.codehaus.org/browse/MJAVADOC-47?page=all ]

Maria Odea Ching updated MJAVADOC-47:
-------------------------------------

    Attachment: MJAVADOC-47-maven-javadoc-plugin.patch

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org