You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/15 14:54:11 UTC

[jira] Closed: (MNG-1185) Parameter in goal "site" conflicts with parameter of the same name in goal "deploy"

     [ http://jira.codehaus.org/browse/MNG-1185?page=all ]
     
Brett Porter closed MNG-1185:
-----------------------------

     Resolution: Fixed
    Fix Version: 2.0

> Parameter <siteDirectory> in goal "site" conflicts with parameter of the same name in goal "deploy"
> ---------------------------------------------------------------------------------------------------
>
>          Key: MNG-1185
>          URL: http://jira.codehaus.org/browse/MNG-1185
>      Project: Maven 2
>         Type: Bug
>   Components: maven-site-plugin
>     Versions: 2.0 (RC)
>     Reporter: Martin Desruisseaux
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0
>  Attachments: MNG-1185-maven-site-plugin-b.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> In the maven-site-plugin, goals "site" and "deploy" both have a parameter named <siteDirectory>, but use it for different purpose.
> * Goal "site" uses it for locating files like site.xml. The default value is "${basedir}/src/site".
> * Goal "deploy" uses it for locating the HTML pages produces by the goal "site". The default value is "${project.reporting.outputDirectory}".
> Consequently, setting this parameter for one goal has undesirable side effect on the other goal. It basically prevent "deploy" to work (unless there is some way in Maven 2 to setup different parameter values for different goals in the same plugin).
> A possible fix is to rename the <siteDirectory> parameter for one of those goals.

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