Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 63397 invoked from network); 12 Jun 2008 11:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 11:42:48 -0000 Received: (qmail 76552 invoked by uid 500); 12 Jun 2008 11:42:50 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 76501 invoked by uid 500); 12 Jun 2008 11:42:50 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 76490 invoked by uid 99); 12 Jun 2008 11:42:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 04:42:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.145.110.36] (HELO smtp-out.completel.net) (83.145.110.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 11:41:59 +0000 Received: from smtp.mipih.fr (mess.mipih.fr [213.30.131.226]) by smtp-out.completel.net (Postfix) with ESMTP id 36177A94068 for ; Thu, 12 Jun 2008 13:42:09 +0200 (CEST) Received: from smtp.mipih.fr (localhost [127.0.0.1]) by smtp.mipih.fr (messagerie) with ESMTP id 1D609D2363 for ; Thu, 12 Jun 2008 13:42:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on v3web.mipih.fr X-Spam-Level: Received: from vfront.mipih.net (unknown [10.60.0.235]) by smtp.mipih.fr (messagerie) with ESMTP id 0B341D2362 for ; Thu, 12 Jun 2008 13:42:08 +0200 (CEST) Received: from VMAIL.mipih.net ([10.31.1.48]) by vfront.mipih.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Jun 2008 13:42:08 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C8CC81.593EBD48" Subject: =?iso-8859-1?Q?RE=A0=3A_Configure_maven_not_to_hit_central_repository?= Date: Thu, 12 Jun 2008 13:42:10 +0200 Message-ID: <7D90CDE85843914CB4DA65D3A421E64932791B@vmail.mipih.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: <7D90CDE85843914CB4DA65D3A421E64932791B@vmail.mipih.net> Thread-Topic: Configure maven not to hit central repository Thread-Index: AcjLxpp3GJP+xk15RMuHb5JYDMEQ+AAuchlo References: <7D90CDE85843914CB4DA65D3A421E6490204AEEB@vmail.mipih.net> From: "MATHUS Baptiste" To: X-OriginalArrivalTime: 12 Jun 2008 11:42:08.0217 (UTC) FILETIME=[582BC490:01C8CC81] X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 ------_=_NextPart_001_01C8CC81.593EBD48 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > De: Wendy Smoak [mailto:wsmoak@gmail.com] > Date: mer. 11/06/2008 15:23 > =C0: users@archiva.apache.org > Objet : Re: Configure maven not to hit central repository >=20 > On Tue, Jun 10, 2008 at 6:23 AM, MATHUS Baptiste = wrote: >=20 > > So, finally, my question is quite simple : is using "central" as the = id > > for custom repository a good or even acceptable practice? If not, = what's > > the best solution to prevent anyone that has the right settings.xml = (and > > no repo conf in their pom.xml) to directly access some external > > repository? > > > > Is there any documentation existing about those principles? >=20 > Re-defining the 'central' repo id is recommended, but it doesn't > completely solve the problem. To really prevent access to external > repos you'll need to use mirrors. Alright. Then I think I'm gonna both=20 * redefine "central" repository so that it hits our archiva proxy + * add a mirror on "*" to prevent that manually declared=20 repositories in poms directly hits the specified address,=20 and that it hits the same archiva proxy instead. Thanks, Wendy. -- Baptiste ------_=_NextPart_001_01C8CC81.593EBD48--