Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 34308 invoked from network); 4 Jul 2009 16:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jul 2009 16:16:02 -0000 Received: (qmail 44738 invoked by uid 500); 4 Jul 2009 16:16:10 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 44608 invoked by uid 500); 4 Jul 2009 16:16:10 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 44596 invoked by uid 99); 4 Jul 2009 16:16:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jul 2009 16:16:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stephen.alan.connolly@gmail.com designates 74.125.78.26 as permitted sender) Received: from [74.125.78.26] (HELO ey-out-2122.google.com) (74.125.78.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jul 2009 16:15:59 +0000 Received: by ey-out-2122.google.com with SMTP id 9so681129eyd.41 for ; Sat, 04 Jul 2009 09:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ZMN6xNyE6VQ2IUJdVUuST1mlZ0pWMsgghyxViCKZrtI=; b=mnvF1sYDmv/fu+vTnEG6CrpbqOEqPmxBT3nA3+Wf6imoCaTohhYrrPnWA6j3l9o/iS o/QsPY6vXjQh6Go4YqO/ghRJK8sZIKbf0g6cnSampQWkbCuOxChxmdeCrX2X03nkwNp6 quQO+eNHEVi6YCE5Xq7Mdk8wdk83xznlBcaCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=L0zU0/cBUx79z+PK6X3Gkwwo0ztss9TNsN3AWRWZADvPmZa/IzF8SOtocuBksUkORO 3N0W17RHqlzdsf8JXzIlAhGIPKR+yCppuYDsFMPnRI1yNtaPp4l33CtXXYGA3+HPVKia 7hHJSyQHvJhCf2NXJgThY3WwQu7XUrkowW1Ww= MIME-Version: 1.0 Received: by 10.210.35.5 with SMTP id i5mr2533221ebi.34.1246724139197; Sat, 04 Jul 2009 09:15:39 -0700 (PDT) In-Reply-To: <24335445.post@talk.nabble.com> References: <24335281.post@talk.nabble.com> <24335445.post@talk.nabble.com> Date: Sat, 4 Jul 2009 17:15:39 +0100 Message-ID: <88c1b40907040915h5e262927g718aa9454c98409b@mail.gmail.com> Subject: Re: LATEST version of an "artifact" From: Stephen Connolly To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org it was designed for plugins only and it is less usefull than you think it also depends on the correct metadata being deployed if you deploy in the following order, the following versions 1.0 2.0 2.1 3.0 1.1 then LATEST will be 1.1 it also gives an irreproducible build, as tomorrow you could end up picking up 3.1 or 4.0 or 2.2 or 1.2 depending on what gets published version ranges are more reliable (but again these require correct metadata and give you an irreproducible build) the problem you *think* you have is actually not a problem, and if you use the release plugin [and perhaps additionally the versions plugin] everything will "just work out" -Stephen On Saturday, July 4, 2009, Jaikiran wrote: > > Infact i get an error when i use LATEST: > > 1) org.myapp.abc:myapp-core:jar:LATEST > > =A0Try downloading the file manually from the project website. > > .... > > Seems like LATEST isn't recognized as a valid qualifier? > > > > Jaikiran wrote: >> >> I am reading the Maven definitive guide >> http://www.sonatype.com/books/maven-book/reference/pom-relationships-sec= t-pom-syntax.html >> which says: >> >> "LATEST refers to the latest released or snapshot version of a particula= r >> artifact..." >> >> Does this really work? I am using LATEST against a artifact, but i don't >> seem to get it to use the latest available "snapshot" for that artifact. >> It seems to look for the latest "released" artifact. I am using Maven >> 2.0.9 >> >> >> > > -- > View this message in context: http://www.nabble.com/LATEST-version-of-an-= %22artifact%22-tp24335281p24335445.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org