[ 
https://issues.apache.org/jira/browse/MNG-5900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223150#comment-15223150
 ] 

Hervé Boutemy edited comment on MNG-5900 at 4/3/16 7:17 AM:
------------------------------------------------------------

given everything happens in a XML file (not a code source file), with a 
specific expression syntax and usual {{$\{project.\*}}} expressions, I don't 
really understand what confusion you fear by having now {{$\{this.\*}}} 
expressions
But for sure, we'll add any explanation that you'll feel useful

notice that changing the syntax but keeping the same {{project}} name is IMHO 
more confusing, since it's not the same instance for early or late 
interpolation (even if it's 2 instances of the same class)


was (Author: hboutemy):
given everything happens in a XML file (not a code source file), with a 
specific expression syntax and usual {{$\{project.*}}} expressions, I don't 
really understand what confusion you fear by having now {{$\{this.*}}} 
expressions
But for sure, we'll add any explanation that you'll feel useful

> 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
>            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.3.4#6332)

Reply via email to