Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 4150 invoked from network); 19 May 2009 02:46:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 02:46:32 -0000 Received: (qmail 60338 invoked by uid 500); 19 May 2009 02:46:31 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 60237 invoked by uid 500); 19 May 2009 02:46:31 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 60227 invoked by uid 99); 19 May 2009 02:46:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 02:46:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [204.13.248.71] (HELO mho-01-ewr.mailhop.org) (204.13.248.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 02:46:19 +0000 Received: from adsl-074-170-244-147.sip.gnv.bellsouth.net ([74.170.244.147] helo=Betelgeuse.local) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1M6FL4-000INC-Qr for dev@maven.apache.org; Tue, 19 May 2009 02:45:58 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 74.170.244.147 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/d7pMKh+Tsdbz3ibA22T8p Message-ID: <4A121D65.5000806@commonjava.org> Date: Mon, 18 May 2009 22:45:57 -0400 From: John Casey User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Maven Developers List Subject: [PROPOSAL] POM Version-Expression Transformation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I've been grappling with version-expression interpolation since before Maven 2.1.0 (See MNG-3057, MNG-4140, and now MNG-4167). It seems that doing this transformation within an ArtifactTransformation implementation is a flawed concept, since it means that plugins are using old content when they produce derivative files/metadata from a POM that contains version expressions. I've written up my thoughts on what exactly the problem is here, what I see as our options for solving it, and how I think we ought to proceed. You can find them here: http://docs.codehaus.org/display/MAVEN/Transforming+POM+Version+Expressions Please, read it over and let me know what you think. If you have a completely different direction you think the solution should go, I want to hear from you! If you have something you think I haven't considered in this write-up, say so. I took a shot at fixing the version-expression problem in 2.1.0, and opened up a pretty big bug for projects that want GPG signatures of their POMs. I'd rather not repeat that mistake. Thanks! -john --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org