Return-Path: Delivered-To: apmail-repository-archive@www.apache.org Received: (qmail 5397 invoked from network); 30 Sep 2009 15:26:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 15:26:47 -0000 Received: (qmail 82906 invoked by uid 500); 30 Sep 2009 15:26:47 -0000 Delivered-To: apmail-repository-archive@apache.org Received: (qmail 82808 invoked by uid 500); 30 Sep 2009 15:26:46 -0000 Mailing-List: contact repository-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: repository@apache.org List-Id: Delivered-To: mailing list repository@apache.org Received: (qmail 82800 invoked by uid 99); 30 Sep 2009 15:26:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 15:26:46 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of brianf@sonatype.com) Received: from [64.18.2.171] (HELO exprod7og109.obsmtp.com) (64.18.2.171) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Sep 2009 15:26:36 +0000 Received: from source ([209.85.210.178]) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKSsN4lnIMnMxPvObGBFcvi4whOJ6iWdnp@postini.com; Wed, 30 Sep 2009 08:26:16 PDT Received: by yxe8 with SMTP id 8so3164067yxe.17 for ; Wed, 30 Sep 2009 08:26:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.126.11 with SMTP id d11mr6537552ann.29.1254324374079; Wed, 30 Sep 2009 08:26:14 -0700 (PDT) In-Reply-To: <4AC36D2D.2030603@apache.org> References: <4AC35577.1040806@sun.com> <4AC36D2D.2030603@apache.org> From: Brian Fox Date: Wed, 30 Sep 2009 08:25:54 -0700 Message-ID: Subject: Re: forcing a sync to the maven 2 repository To: repository@apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Only new files are pulled in, like Simon said you need to change the version if you want them to be updated. Even if we manually loaded your jars, anyone in the world that already has a copy would not get the new ones and it would just create chaos because it would work for some and not others. Release artifacts are immutable. It's a fundamental tenet of Maven. (and good CM practice to boot) On Wed, Sep 30, 2009 at 7:37 AM, Simon Kitching wrote: > Rick Hillegas wrote: >> Hello, >> >> I hope that this is the correct mailing list for this question. If it >> isn't, please point me in the right direction. >> >> The Derby project has been learning how to deploy our build artifacts to >> the maven 2 repository. This has involved a fair amount of learning for >> us because we don't use maven in our project builds--we use ant instead. >> However, I think that we have learned a fair amount and we are getting >> close to being able to deploy our artifacts correctly. >> >> A while ago we copied broken artifacts to the staging area at >> /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/derby >> and they were successfully sync'd to the corresponding maven 2 locations >> at http://repo1.maven.org/maven2/org/apache/derby After we were told >> that our artifacts were broken, we copied corrected versions to >> /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/derby >> However, those corrected versions have not been sync'd to the maven 2 >> locations. How do we force a sync to occur? > > Maven artifacts should never be replaced/overwritten/removed after > deployment. It causes all sorts of caching problems for maven users. > > The usual solution is simply to deploy a new version; users will get the > latest version (ie the fixed one) unless they have specifically > requested otherwise. > > Regards, > Simon > > Note: I'm not a repo administrator.. >