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-3    
 Reporter: Martin Desruisseaux


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