maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-4208) [regression] CLI properties can't override project properties during interpolation
Date Wed, 17 Jun 2009 18:46:15 GMT

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

Benjamin Bentmann closed MNG-4208.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 3.0-alpha-3

Fixed in [r785752|http://svn.apache.org/viewvc?view=rev&revision=785752].

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

        

Mime
View raw message