Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 93390 invoked from network); 12 Mar 2008 10:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2008 10:35:16 -0000 Received: (qmail 62062 invoked by uid 500); 12 Mar 2008 10:35:05 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 61999 invoked by uid 500); 12 Mar 2008 10:35:05 -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 61978 invoked by uid 99); 12 Mar 2008 10:35:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2008 03:35:05 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2008 10:34:27 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JZOIA-0004d9-2H for users@maven.apache.org; Wed, 12 Mar 2008 03:34:38 -0700 Message-ID: <16001438.post@talk.nabble.com> Date: Wed, 12 Mar 2008 03:34:38 -0700 (PDT) From: Papapara Tudu To: users@maven.apache.org Subject: Re: Problem with snapshots In-Reply-To: <9edb84ca0803050610t5f936e01l310fa1df3d6882b0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: papaparatudu@poczta.onet.pl References: <15709789.post@talk.nabble.com> <19a9f6be0802270207l5c1fbd41q4b603e24384769d5@mail.gmail.com> <15711493.post@talk.nabble.com> <15824504.post@talk.nabble.com> <19a9f6be0803040236qe64714eo2cf0548cf44785e7@mail.gmail.com> <9edb84ca0803040250u6e32dbdci5717509d33a40e75@mail.gmail.com> <15829527.post@talk.nabble.com> <9edb84ca0803040734g3b0d97f5j419fbc241ae695e8@mail.gmail.com> <15848863.post@talk.nabble.com> <9edb84ca0803050610t5f936e01l310fa1df3d6882b0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I have identified some more things in my confiaguration, maybe someone will have any other ideas as to what could be wrong? 1. When I deploy my snapshot onto my local repository with this command: mvn install:install-file -Dfile=Project.jar -DgroupId=com.company.project -DartifactId=project -Dversion=2.2-SNAPSHOT -Dpackaging=jar -DgeneratePom=true what happens is that the project-2.2-SNAPSHOT.jar gets overwritten with the new file and then as before, this file is used for the compiled war. 2. I also run automated builds on the same machine where I have the archiva repository. What is strange there is that it always picks up the most recent version of the snapshot for the compiled version. So for some reason my problem only occurs on local builds, and not on the continuous integration build on my build machine. Could that be because there's a difference in the metadata xmls between my internal repo and the local repo? This is my maven-metadata-local.xml file from the com/company/project/project folder: com.company.project project 2.2-SNAPSHOT 2.2-SNAPSHOT 20080312101739 And this is the one from my Archiva repo: com.company.project project 2.2-SNAPSHOT 2.2-SNAPSHOT Now these are the respective files from the com/company/project/project/2.2-SNAPSHOT folder: 1. local repository: com.company.project project 2.2-SNAPSHOT true 20080312101739 2. archiva: com.company.project project 2.2-SNAPSHOT 19 20080311.132319 20080311132319 -- View this message in context: http://www.nabble.com/Problem-with-snapshots-tp15709789s177p16001438.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