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

Kenney Westerhof closed MNG-2651.
---------------------------------

    Resolution: Duplicate

> POM interpolator treats ${pom.something} like ${something} and prefers system 
> properties
> ----------------------------------------------------------------------------------------
>
>                 Key: MNG-2651
>                 URL: http://jira.codehaus.org/browse/MNG-2651
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.4
>            Reporter: Daniel Schulz
>            Assignee: Kenney Westerhof
>             Fix For: Reviewed Pending Version Assignment
>
>
> The POM interpolator (RegexBasedModelInterpolator) removes all leading 
> "pom.", "project." and "env." portions of an expression before evaluating it. 
>  then searching for values happens in the following order: system properties, 
> project properties, pom bean properties.
> An example: Although ${pom.version} is more specific than ${version}, version 
> wins. That's the problem in MNGECLIPSE-20.
> IMHO the interpolation strategy should be changed.

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