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

Johnny R. Ruiz III updated MNG-1185:
------------------------------------

    Attachment: MNG-1185-maven-site-plugin.patch

- Here's a short patch.
- I renamed the alias  "siteDirectory" in SiteDeploy mojo to "deployDirectory".
- I can't think of a better name for this parameter.   Anyone have any 
suggestion?

Please apply if parameter name is OK.  Thanks.

> 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-beta-4
>     Reporter: Martin Desruisseaux
>     Assignee: Johnny R. Ruiz III
>  Attachments: MNG-1185-maven-site-plugin.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to