Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22A65937B for ; Thu, 13 Oct 2011 02:53:42 +0000 (UTC) Received: (qmail 35994 invoked by uid 500); 13 Oct 2011 02:53:42 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 35854 invoked by uid 500); 13 Oct 2011 02:53:38 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 35846 invoked by uid 99); 13 Oct 2011 02:53:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 02:53:36 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01-new.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 02:53:30 +0000 Received: from codehaus01-new.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01-new.managed.contegix.com (Postfix) with ESMTP id A5456B046E for ; Wed, 12 Oct 2011 21:53:09 -0500 (CDT) Date: Wed, 12 Oct 2011 21:53:09 -0500 (CDT) From: "Christian Gleissner (JIRA)" To: issues@maven.apache.org Message-ID: <294617180.3263.1318474389656.JavaMail.j2ee-jira@codehaus01-new.managed.contegix.com> In-Reply-To: <17492274.37817.1296234538520.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Commented: (MNG-4998) Variables interpolation: dynamic in Maven 2, static in Maven 3 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 [ https://jira.codehaus.org/browse/MNG-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281177#comment-281177 ] Christian Gleissner commented on MNG-4998: ------------------------------------------ Hi Luke, your suggestion seems to be a good compromise between the Maven 2 behavior and how Maven 3.0.x handles properties. I would very much appreciate if the Maven 2 ability to redefine properties could be preserved for Maven 3. As you mentioned, the properties section could then be used for defining defaults which specific plugins may chose to override, only visible within their local configuration contexts. Evgeny's approach to use Groovy snippets for this is very innovative and I'd like to use this in Maven 3. Thanks Christian > 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 and effect expressions interpolated later, Maven 3 also allows to update 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 . -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira