Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
Description
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.