Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 99084 invoked from network); 4 Sep 2006 15:16:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 15:16:51 -0000 Received: (qmail 19114 invoked by uid 500); 4 Sep 2006 15:16:51 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 19052 invoked by uid 500); 4 Sep 2006 15:16:51 -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 19043 invoked by uid 99); 4 Sep 2006 15:16:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 08:16:51 -0700 X-ASF-Spam-Status: No, hits=-4.3 required=10.0 tests=HABEAS_ACCREDITED_SOI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Andreas.Guther@markettools.com designates 72.5.112.150 as permitted sender) Received: from [72.5.112.150] (HELO mvmail04.markettools.com) (72.5.112.150) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 08:16:49 -0700 Received: from WDCCPMAIL01.markettools.com ([10.64.64.33]) by mvmail04.markettools.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Sep 2006 08:16:28 -0700 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: Using Archiva as a Mirror Date: Mon, 4 Sep 2006 08:16:27 -0700 Message-ID: <3FB08D6A21B3EC4D8749EF6D9E626278635640@WDCCPMAIL01.markettools.com> In-Reply-To: <4FA2D671-9FFE-4529-856E-593F9B31650B@apache.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using Archiva as a Mirror thread-index: AcbP0oLyIbR36M4gTn25PnHptVxp0wAYZiTg From: "Andreas Guther" To: X-OriginalArrivalTime: 04 Sep 2006 15:16:28.0375 (UTC) FILETIME=[1827E670:01C6D035] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Brett, I actually first renamed the folder on the hard drive and then re-configured the settings in the Administration dialog. Only after those changes the indexer would work. And I do not think I had a typo in my configuration since I am pretty sure I copied the folder name into the administration dialog. I also could see the changes with a manual kick-off of the indexer (Run Now). Before the changes it was running over night for about 12 hours without being able to index. Andreas -----Original Message----- From: Brett Porter [mailto:brett@apache.org]=20 Sent: Sunday, September 03, 2006 8:30 PM To: archiva-users@maven.apache.org Subject: Re: Using Archiva as a Mirror On 04/09/2006, at 10:50 AM, Andreas Guther wrote: > The indexing issue I could resolve. After changing the folder name =20 > for > the index directory from "maven-archiva-index" to "index" only, the > index was correctly created. Could that be a bug in the application? No, it's just that it detected that it didn't exist and ran the =20 indexer instead of waiting an hour (I'm assuming you now have both =20 directories existing). > > I still could not figure out how to configure that the installation > proxies the ibiblio repository. > > Andreas > > > -----Original Message----- > From: Andreas Guther > Sent: Sunday, September 03, 2006 11:57 AM > To: 'archiva-users@maven.apache.org' > Subject: Using Archiva as a Mirror > > How to use Archiva as Maven2 Mirror > > > > Hi, > > I have build and installed the Archiva Maven Repository Manager =20 > (MRM) on > a Tomcat 5.5.17 instance on the same server I have running an Apache > server which serves as our internal Maven Repository. > > From what I read in the book "Better Builds with Maven" I can use the > MRM as a proxy and that is exactly what I am trying to get to run =20 > right > now. > > I would like to start a mirror on that server. I have created a new > folder (maven2-central-proxy) in the same space that is used by Apache > to server our internal Maven repositories. I have added the =20 > directory to > the Managed Repositories in the Administration dialog of MRM. (BTW: =20 > Copy > and Paste from my configuration can be found at the bottom of this > email.) > > Under "Proxied Repositories" I have added the Ibiblio URL > http://www.ibiblio.org/maven2/. > > Unfortunately I can not figure out how to connect the dots now. =20 > How can > I use this set-up as a proxy? I am missing some configuration =20 > steps and > hope someone on this list can point me to some documentation or =20 > explain > his or her configuration similar to what I want to achieve. > > Oh, another thing: the maven-metadata.xml file is updated but nothing > is indexed in the assigned index folder though I have manually =20 > copied a > few folders from our current internal repository. > > Is there any documentation I am missing that could help me better in > understanding the configuration settings? > > Thanks in advance for any hint or help. > > Andreas > > > > Below is a copy and paste from the two configuration dialogs of MRM. > > Configuration > Index Directory > E:\maven\repositories\maven2-central-proxy\maven-archiva-index =09 > Indexing Schedule 0 0 * * * ? Run Now > > Edit Configuration > Managed Repositories > Edit Repository | Delete Repository > MarketTools Maven2 Central Repository Proxy > Identifier maven2-central-proxy > Directory E:\maven\repositories\maven2-central-proxy > Type Maven 2.x Repository > Snapshots Included =09 > Indexed =09 > > Add Repository > > > Proxied Repositories > Edit Repository | Delete Repository > Maven Central Repository > Identifier ibiblio > URL http://www.ibiblio.org/maven2/ > Type Maven 2.x Repository > Snapshots =09 > Releases Updated daily > Proxied through MarketTools Maven2 Central Repository Proxy > (maven2-central-proxy) > Use HTTP Proxy =09 > Cache Failures =09 > Fail Whole Group =09 > > Add Repository >