Return-Path: Delivered-To: apmail-maven-m2-dev-archive@www.apache.org Received: (qmail 1722 invoked from network); 23 Mar 2005 09:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Mar 2005 09:20:33 -0000 Received: (qmail 26689 invoked by uid 500); 23 Mar 2005 09:20:33 -0000 Delivered-To: apmail-maven-m2-dev-archive@maven.apache.org Received: (qmail 26631 invoked by uid 500); 23 Mar 2005 09:20:32 -0000 Mailing-List: contact m2-dev-help@maven.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Maven 2 Developers List" Reply-To: "Maven 2 Developers List" Delivered-To: mailing list m2-dev@maven.apache.org Received: (qmail 26616 invoked by uid 99); 23 Mar 2005 09:20:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail-08.iinet.net.au (HELO mail.iinet.net.au) (203.59.3.40) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 23 Mar 2005 01:20:31 -0800 Received: (qmail 18829 invoked from network); 23 Mar 2005 08:40:41 -0000 Received: from unknown (HELO ?10.1.1.26?) (203.206.248.81) by mail.iinet.net.au with SMTP; 23 Mar 2005 08:40:41 -0000 Message-ID: <42412B82.9010304@apache.org> Date: Wed, 23 Mar 2005 19:40:34 +1100 From: Brett Porter User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven 2 Developers List Subject: Re: SNAPSHOT design References: <3tplvd$5euf4o@irony1.iinet.net.au> In-Reply-To: <3tplvd$5euf4o@irony1.iinet.net.au> X-Enigmail-Version: 0.90.1.1 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vincent Massol wrote: >Cool. At first reading the systematic use of snapshot timestamp and the >juggling of format between local and remote repos seemed too much of magic >to me. I now understand this may be the only solution for clock issues. > > This is all pretty well hidden - the user should just specify SNAPSHOT in their dependencies and it will just work. >I think a version.txt file may be required not only for snapshots but also >for proper release versions so that the user can specify a dependency that >is greater than a certain number (ex: 1.7+ or >1.7). Is it the plan to have >another file for it? Wouldn't it be better to merge the 2 files into one? > > I'd imagine that they would be treated like SNAPSHOTs if implemented as they are also unresolved versions - but I don't want to go too far down that track yet. To be honest, I'm not entirely certain we should implement this in the short term. It's dangerous when versioning is not done right. What we're better to do is make it easier to globally change a dependency version which is what dependencyManagement is about so you can have careful control of the dependency version in play. Cheers, Brett