[ http://jira.codehaus.org/browse/MSITE-185?page=all ]

Kenney Westerhof closed MSITE-185.
----------------------------------

         Assignee: Kenney Westerhof
       Resolution: Fixed
    Fix Version/s: 2.0

Fixed in revision 467170.

The expression was ${project.reporting.outputDirectory} which is always 
resolved from the (super) pom,
so commandline options don't work.

Moved the expression the 'default-value' attribute and renamed expression to 
'siteOutputDirectory'.

Tested both with -DsiteOutputDirectory=/tmp and without it (site generated in 
target/site as usual).

> -Dproject.reporting.outputDirectory is not read
> -----------------------------------------------
>
>                 Key: MSITE-185
>                 URL: http://jira.codehaus.org/browse/MSITE-185
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>         Environment: Tried it on debian etch, windows2003 and windows xp. 
> Maven version: 2.0.4
>            Reporter: Erik Drolshammer
>         Assigned To: Kenney Westerhof
>             Fix For: 2.0
>
>
> mvn site -Dproject.reporting.outputDirectory=/tmp and mvn site 
> -Dproject.reporting.outputDirectory=d:/tmp builds sucessfully, but nothing is 
> written to /tmp. The site is instead output to the default /target/site. The 
> output states "Build sucessfully". 
> When editing the configuration for the site-plugin in pom.xml it works just 
> fine. 

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

        

Reply via email to