[ 
http://jira.codehaus.org/browse/MNG-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-4208:
-----------------------------------

    Description: 
For the POM snippet
{code:xml}
<properties>
  <testProperty>FAILED</testProperty>
  <interpolatedProperty>${testProperty}</interpolatedProperty>
</properties>
{code}
and the invocation
{noformat}
mvn help:effective-pom -DtestProperty=PASSED
{noformat}
the effective value for {{interpolatedProperty}} ends up being {{FAILED}} 
instead of {{PASSED}} as specified by the user.

  was:
For the POM snippet
{code:xml}
<properties>
  <testProperty>FAILED</testProperty>
  <interpolatedProperty>${testProperty}</interpolatedProperty>
</properties>
{code}
and the invocation
{noformat}
mvn help:effective-pom -DtestProperty=PASSED
{noformat}
the effective value for {{interpolatedProperty}} ends up being {{FAILED}} 
instead of {{PASSED} as specified by the user.


> [regression] CLI properties can't override project properties during 
> interpolation
> ----------------------------------------------------------------------------------
>
>                 Key: MNG-4208
>                 URL: http://jira.codehaus.org/browse/MNG-4208
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> For the POM snippet
> {code:xml}
> <properties>
>   <testProperty>FAILED</testProperty>
>   <interpolatedProperty>${testProperty}</interpolatedProperty>
> </properties>
> {code}
> and the invocation
> {noformat}
> mvn help:effective-pom -DtestProperty=PASSED
> {noformat}
> the effective value for {{interpolatedProperty}} ends up being {{FAILED}} 
> instead of {{PASSED}} as specified by the user.

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