Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 69103 invoked from network); 30 Apr 2007 18:15:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2007 18:15:04 -0000 Received: (qmail 32479 invoked by uid 500); 30 Apr 2007 18:15:10 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 32437 invoked by uid 500); 30 Apr 2007 18:15:10 -0000 Mailing-List: contact archiva-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: archiva-users@maven.apache.org Delivered-To: mailing list archiva-users@maven.apache.org Received: (qmail 32424 invoked by uid 99); 30 Apr 2007 18:15:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 11:15:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 11:15:02 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HiaOY-0006fo-Ds for archiva-users@maven.apache.org; Mon, 30 Apr 2007 11:14:42 -0700 Message-ID: <10258113.post@talk.nabble.com> Date: Mon, 30 Apr 2007 11:14:42 -0700 (PDT) From: lastrada <5tr4da@gmail.com> To: archiva-users@maven.apache.org Subject: Re: Proxying repositories In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: 5tr4da@gmail.com References: <974331cf0704271936u10eafc0buf6eef897e07a4f85@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thx Wendy, So what I have set up is an Archiva repository with proxies for the N repositories used by the open source project. In my maven settings I have a profile that references the Archiva repository as follows: Archiva Repository true Archiva Archiva repostiory http://myhost:8080/archiva/repository/xyz true true Archiva Archiva repostiory http://myhost:8080/archiva/repository/xyz false true I was hoping that all dependency requests made by the os project would now be proxied through Archiva, but it seems to circumvent it and still go straight to the other repositories directly. Is there something else I need to add to make it always defer to archiva? Do i need to set up an http proxy too? Thanks with your help on this rgds, ls Wendy Smoak-3 wrote: > > On 4/27/07, la 5tr4da <5tr4da@gmail.com> wrote: >> I have a question regarding proxied repositories for open source projects >> using maven and archiva. I would like to build an open source project >> that >> has for example two repositories defined in its pom. I would like to set >> these up as proxies in archiva and have maven retrieve the required >> artifacts via archiva which would then have a cached copy. This would >> allow >> for a pseudo offline build of the project using only the cached artifacts >> in >> archiva. Is this possible, and if so what do I need to do to make this >> happen. Any info on this would be most appreciated. > > Sounds reasonable to me... I do the same thing, including deploying > the older Sun jars that can't be in a public repo to my own 'private' > remote repo. > > It should be fairly straightforward, set up a managed repository and > then a couple of proxied repositories using the buttons at the left. > > Archiva is still under construction, so keep an eye on the dev list to > avoid surprises. > > -- > Wendy > > -- View this message in context: http://www.nabble.com/Proxying-repositories-tf3660800.html#a10258113 Sent from the archiva-users mailing list archive at Nabble.com.