You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/01/10 20:03:01 UTC

[jira] Commented: (MJAVADOC-40) javadoc:jar doesn't work if destDir was changed in javadoc:javadoc

    [ http://jira.codehaus.org/browse/MJAVADOC-40?page=comments#action_55434 ] 

Mike Perham commented on MJAVADOC-40:
-------------------------------------

Brian, I've applied your patch but I'm really unhappy with the parameter mess.  The outputDirectory parameter is shared by the two goals yet they are semantically two different location (one is the location of the HTML, one is the location of the javadoc jar).  On top of that, destDir is aliased in one goal and is a separate parameter in the other goal.

This will definitely need to be cleaned up.

> javadoc:jar doesn't work if destDir was changed in javadoc:javadoc
> ------------------------------------------------------------------
>
>          Key: MJAVADOC-40
>          URL: http://jira.codehaus.org/browse/MJAVADOC-40
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Reporter: Brian Fox
>  Attachments: javadoc-jar.patch
>
>
> The following configuration will cause jar to fail. This is major because it stops release:perform from completing on what otherwise should be a valid config
> <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <source>1.4</source>
>           <destDir>${project.build.directory}/site/javadoc</destDir>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>

-- 
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