[ https://jira.codehaus.org/browse/MNG-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299889#comment-299889 ]
Evgeny Goldin edited comment on MNG-4998 at 5/28/12 2:06 PM: ------------------------------------------------------------- Darshak, I've used [{{<rawProperties>}}|http://evgeny-goldin.com/wiki/Properties-maven-plugin#.3CrawProperties.3E] in my own [{{"properties-maven-plugin"}}|http://evgeny-goldin.com/wiki/Properties-maven-plugin] to bypass this problem. This way default properties are also created dynamically and thus can be overridden later. I'm very sceptical about seeing this behavior changed in Maven 3. was (Author: evgeny.goldin): Darshak, I've used [{{<rawProperties>}}|http://evgeny-goldin.com/wiki/Properties-maven-plugin#.3CrawProperties.3E] in my own [{{"properties-maven-plugin"}}|http://evgeny-goldin.com/wiki/Properties-maven-plugin]. This way default properties are also created dynamically and thus can be overridden later. I'm very sceptic about seeing this behavior changed in Maven 3. > Variables interpolation: dynamic in Maven 2, static in Maven 3 > -------------------------------------------------------------- > > Key: MNG-4998 > URL: https://jira.codehaus.org/browse/MNG-4998 > Project: Maven 2 & 3 > Issue Type: Bug > Components: POM > Affects Versions: 3.0.2 > Reporter: Evgeny Goldin > > Please, see > http://maven.40175.n5.nabble.com/Variables-interpolation-dynamic-in-Maven-2-static-in-Maven-3-td3360336.html. > It demonstrates two examples where expression with ${variables} are > interpolated differently in Maven 2 and Maven 3: Maven 2 allows to update > <properties> and effect expressions interpolated later, Maven 3 also allows > to update <properties> but all expressions are interpolated with their old > values. > I believe Maven 2 dynamic behavior is much more preferable than Maven 3 > Ant-like "stickiness" to what's defined in <properties>. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira