maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MNG-5900) early interpolation: support ${this.*} as expression
Date Sat, 02 Apr 2016 19:26:25 GMT

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

Hervé Boutemy commented on MNG-5900:
------------------------------------

even documented, a new syntax is less expressive and more abstract: that was my first bet
before Robert idea, and I could not find any syntax that wouldn't look cryptic regarding classical
 $\{*} variables

and for sure, when {{this}} will be implemented (in Maven 4), it will be documented in http://maven.apache.org/ref/3-LATEST/maven-model-builder/
the same way I did it for doxia-siterenderer integration-tools http://maven.apache.org/doxia/doxia-sitetools-archives/doxia-sitetools-LATEST/doxia-integration-tools/index.html

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

Mime
View raw message