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: Inheritence and Interpolation
    Affects Versions: 2.0.4
            Reporter: Daniel Schulz


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