Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 75056 invoked from network); 14 Oct 2006 20:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2006 20:17:32 -0000 Received: (qmail 38828 invoked by uid 500); 14 Oct 2006 20:17:25 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 38772 invoked by uid 500); 14 Oct 2006 20:17:24 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 38556 invoked by uid 99); 14 Oct 2006 20:17:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 13:17:24 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jason.dillon@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 13:17:23 -0700 Received: by nf-out-0910.google.com with SMTP id p77so1379347nfc for ; Sat, 14 Oct 2006 13:17:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=m6Usy/CgUtGlXeSVhu3TDETHwddqHTVugvjb6g24paGXwMH3Ke24ETLc0xO8e2Sc0r+v9ODfC9GkJca7ppR6elhGwxVNLvExdbK5n6PDyYGfkrSc8GbyQ9P+wPK+hJHUCOkGuwIzbLJERw1IZpGkNNbIwni+dLs/Nv7l4/ALPTE= Received: by 10.78.200.3 with SMTP id x3mr5536180huf; Sat, 14 Oct 2006 13:17:00 -0700 (PDT) Received: from ?10.0.1.3? ( [24.7.69.241]) by mx.google.com with ESMTP id 10sm2413433hug.2006.10.14.13.16.57; Sat, 14 Oct 2006 13:17:00 -0700 (PDT) In-Reply-To: <4530ED1B.7090908@apache.org> References: <1AB2ECF9-F025-4CAD-B525-F4D7DF10D6AA@planet57.com> <4530ED1B.7090908@apache.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: dev@geronimo.apache.org Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Maven's snapshot mechanism is horked (Re: Build error - Is it from svn commit: r463555 - /geronimo/genesis/trunk/config/project-config/pom.xml?) Date: Sat, 14 Oct 2006 13:16:48 -0700 To: "Maven Developers List" X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Oct 14, 2006, at 6:58 AM, Kenney Westerhof wrote: > Running mvn with -U -cpu should fix that (or wait 24 hours and try > again :)). I don't think this helps... at least not the wait 24 hours. I was up late and was running a build at 11:50pm and it ran fine, then ran a build at 12:02am and it puked about missing versions from genesis 1.1- SNAPSHOT versions... which I had versions in my local repo that were all newer than any snap that I had deployed.... and I am the only one who deploys them, so no chance that it as deployed by someone else. The only way I could fix was to build genesis locally after the failed 12:02am build. But the crazy part was that I had just done that at about 11:40pm, did *not deploy* so my local copy was newer, but maven decided not to resolve to those versions?!?! I don't think using `mvn -U` helps either, as that negates the use of caching SNAPSHOTs and will slowdown the build way to much. > Another solution is to delete the metadata file from the local > repository. Nope... this does not work either as the problem shows up quite often when you removed you local repo and build... ie... no local metadata at all. So I don't think the problem is there. If there is a problem with the local metadata it is getting corrupted while mvn is running, so even removing the local repo cache will not ensure that the run will succeed. > Btw, how come the original snapshot versions are removed from the > remote repository? > The local metadata file probably contains a reference to the old > snapshot version, > but doesn't seem to have it locally, which needs investigation.. Who said anything about removing anything? The genesis 1.1-SNAPSHOTS have not been altered ore removed from the remote repo. In the specific problem build 1 - 23 of plugin-support are all available. > As for the other snapshot errors: Maven 1 legacy repositories don't > contain metadata files. Updating snapshots from them doesn't seem > to work. That's another thing that > should be investigated. > > I personally never have problems with snapshot versions, so maybe > the use of maven 1 repositories > and the removal of snapshots from the remote repository isn't > handled correctly by Maven. I know there are issues with m1 repos... not specific to snapshots... though unfortunately we can not eliminate them completely from out build because we have a few dependencies which define m1 repos in their poms. But... I think that use of m1 repos is only one of the problems going on here... something else, which I have yet to understand, is broken. One thing does look very fishy to me though.... 1) org.apache.geronimo.genesis.plugins:plugin-support:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file - DgroupId=org.apache.geronimo.genesis.plugins -DartifactId=plugin- support \ -Dversion=1.1-20061013.014841-21 -Dpackaging=jar -Dfile=/ path/to/file Path to dependency: 1) org.apache.geronimo.genesis.plugins:tools-maven- plugin:maven-plugin:1.1-20061013.014841-21 2) org.apache.geronimo.genesis.plugins:plugin-support:jar: 1.1-20061013.014841-21 ---------- 1 required artifact is missing. for artifact: org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven-plugin: 1.1-20061013.014841-21 from the specified Notice that the tools-maven-plugin's timestamp-build is "20061013.014841-21" and this is also the same timestamp-build that is being used for the plugin-support jar. However the real timestamp for build 21 of plugins-support is "20061012.062745". --jason