You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/06/17 19:45:15 UTC

[jira] Created: (MNG-4208) [regression] CLI properties can't override project properties during interpolation

[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


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

        

[jira] Closed: (MNG-4208) [regression] CLI properties can't override project properties during interpolation

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MNG-4208) [regression] CLI properties can't override project properties during interpolation

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ 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