[ https://issues.apache.org/jira/browse/MNG-5900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110544#comment-16110544 ]
Erwin Hoeckx commented on MNG-5900: ----------------------------------- We have the same situation that [~FlorianSchaetz] is sketching (although in a bit different style). Wrt the discussion about _this_ (although I think _this_ is clear): 'this' in the context of a 'parent' pom lands when developers understand the relationship between the parent/child pom, and the notion of a project. As [~schulte77] points out, it can be a bit confusing if you think in terms of OO, but proper documentation should sort this out. Perhaps 'pom' (referring to the the current POM you're looking at)? +1 for this making it into maven 4! > early interpolation: support ${this.*} as expression > ---------------------------------------------------- > > Key: MNG-5900 > URL: https://issues.apache.org/jira/browse/MNG-5900 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation, POM > Reporter: Robert Scholte > Fix For: Issues to be reviewed for 4.x > > > Right now we have $\{project.\*} which always interpolates values based on > the final project: "classical" interpolation is "late" interpolation. So it > is not possible that parent poms can lock values, ie avoid child poms > override. By adding $\{this} for "early" interpolation, it will be possible > to have intermediate interpolation. > If a pomfile depends on a parent, that parent will first resolve all > $\{this.\*} values for itself. Once the fully inherited pom is there, all > $\{project.\*} will be resolved. -- This message was sent by Atlassian JIRA (v6.4.14#64029)