Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 53244 invoked from network); 9 Feb 2009 08:32:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2009 08:32:42 -0000 Received: (qmail 24901 invoked by uid 500); 9 Feb 2009 08:32:42 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 24692 invoked by uid 500); 9 Feb 2009 08:32:41 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 24681 invoked by uid 99); 9 Feb 2009 08:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 00:32:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MISSING_MID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.6.159.187] (HELO smtp2.decathlon.com) (195.6.159.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 08:32:33 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Archiva & Snapshots Date: Mon, 9 Feb 2009 09:32:12 +0100 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Archiva & Snapshots Thread-Index: AcmFb4tDCShezlbOSZWjgTQaU1C5hwFIJ7gg From: "DEGARDIN David (CAMPUS)" To: X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20090209083239.E85AF816024@nike.apache.org> Hi Wendy, Thank you very much for your help on this. With your help, I managed to do it: I had to declare a profile with 2 repositories: the one with releases and the one with snapshots (this profile is always activated for all builds). But I had to remove the mirror part (before, in my settings.xml file, I had archiva as a mirror of *). If I leave the mirror part, the snapshot is not found (maven is trying to retrieve it from the "internal" repository which is the one that is defined in mirror part). David -----Original Message----- From: Wendy Smoak [mailto:wsmoak@gmail.com]=20 Sent: Monday, February 02, 2009 8:50 PM To: users@archiva.apache.org Subject: Re: Archiva & Snapshots On Mon, Feb 2, 2009 at 7:23 AM, DEGARDIN David wrote: > I thought it was something like this but when I looked into those=20 > files, it seems correct to me (but I let you tell if it's OK). > > So, at the artifact level: > > > > myproject > B > > 1.1-SNAPSHOT > 1.0 This indicates you have releases and snapshots in the same repository, which is unusual (unless this is a repo group aggregating multiple repositories? That doesn't appear to be the case, from the 'internal' repo id I saw earlier in your build output.) If you want to combine releases and snapshots in the 'internal' repo, make sure you have Maven configured to retrieve snapshots from that repo. Check your and in settings.xml (or in the pom) and make sure you have NOT added false to it. I'd suggest deploying snapshots to a separate 'snapshots' directory and keeping 'internal' for releases only. If it's still not working, paste your and elements for your repo(s). -- Wendy