Return-Path: Delivered-To: apmail-repository-archive@www.apache.org Received: (qmail 23607 invoked from network); 22 May 2007 10:25:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 10:25:03 -0000 Received: (qmail 67266 invoked by uid 500); 22 May 2007 10:25:08 -0000 Delivered-To: apmail-repository-archive@apache.org Received: (qmail 67148 invoked by uid 500); 22 May 2007 10:25:08 -0000 Mailing-List: contact repository-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: repository@apache.org List-Id: Delivered-To: mailing list repository@apache.org Received: (qmail 67131 invoked by uid 99); 22 May 2007 10:25:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 03:25:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of steve.loughran@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wr-out-0506.google.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 03:25:00 -0700 Received: by wr-out-0506.google.com with SMTP id 25so1975098wry for ; Tue, 22 May 2007 03:24:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S0wuTI8bbaQhnxgdzox2k3lWsCBydIGmuqhi3lcI0BvgDPC4igVnTcycCAeb3u0h0lmiM6SZLE/wMtzX6pQyN4uGabhCOR50zU9e8E0xp+alUQABhe0Uhl1LnYmI/qkNZrEw5AcANW2RI0ngTVvApZCKVAnsc2Yhf5R0H/6Htys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RiK13yMOPwK4RPiwDOelUBuljdfVtciEdxjVMuXz7ccI4omI/wcXcIq0/fKXNkW9GCjugJ74z/b/OcD4HoGO5wDv+Y5gBO551gVRbJDrqlTJfUd/WuwDGt7SFSFxXbFD7Wbz6Igj66L6C0/P76kYub33C5FQkjMLsSyD7rUz3SQ= Received: by 10.114.102.1 with SMTP id z1mr3215697wab.1179829479109; Tue, 22 May 2007 03:24:39 -0700 (PDT) Received: by 10.115.77.13 with HTTP; Tue, 22 May 2007 03:24:39 -0700 (PDT) Message-ID: Date: Tue, 22 May 2007 11:24:39 +0100 From: "Steve Loughran" To: repository@apache.org Subject: Re: what does ${version} do in a POM In-Reply-To: <635a05060705220214j1e419893h1cbaac8048adb8fb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <262c6c680705211842s2c7b84cap93ba67d467b904ea@mail.gmail.com> <635a05060705220214j1e419893h1cbaac8048adb8fb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 22/05/07, Xavier Hanin wrote: > BTW I agree with steeve, published metadata should be self contained > with no reference, it would make tool development much easier and much > more stable and reproducible. It's nice to know this has been done in > maven 1.1. If you were to be fully rigorous, you'd do a complete closure of the dependency graph, so the metadata of every artifact would list the dependencies as resolved by the build tool at the time of release. That way you don't have to "think like a turtle" and reimplement the resolution logic of the specific tool used just to get the dependencies. It would also be a nice regression test for resolution code...if you resolved the pom and came up with something different from the closure, you'd know your algorithm was broken. -steve