I second that.

We used to rsync the whole repo... but after the second time our internal
mirror server ran out of disk space we gave up and switched to nexus... the
whole thing is a ____lot____ more stable than the rsync nightmare... plus
we're not hitting 1/100 as much bandwith, and since we needed an internal
repo to deploy to anyway... win win win win

-Stephen

2008/9/26 Baptiste MATHUS <[EMAIL PROTECTED]>

> Rsync'ing the whole repository seems a real bad idea to me, I guess you
> could be blacklisted doing that.
> It's far better to do the downloading on demand and caching it by using a
> common maven repo manager (archiva, nexus...).
> In fact, if you mirror the whole repository, I guess you're just going to:
> * waste your bandwidth and the central repo one during a quite long time
> * waste your local disk space.
> I guess you're unlikely going to use even 5% of the thousands of existing
> artifacts from central.
>
> Well, redirecting packets to repo1.maven.org might be acceptable, though
> it's often useful to verify if the artifact is really available publicly
> before insulting your corporate repo. I do it myself quite regularly.
>
> Cheers.
>
> 2008/9/26 Beyer,Nathan <[EMAIL PROTECTED]>
>
> > It's possible that from the central repo's perspective, all traffic from
> > your company may seem like it's coming from one IP address because of
> NAT.
> >
> > Using an internal mirror can help alleviate things. The most non-invasive
> > mirror would be to rsync the central repo periodically and then modify
> > internal DNS to point 'repo1.maven.org' to an internal IP address. You
> can
> > save a lot of bandwidth and time this way.
> >
> > -Nathan
> >
> > -----Original Message-----
> > From: 陈思淼 [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 26, 2008 10:47 AM
> > To: Maven Users List
> > Subject: Re: Are we blocked by central Maven repo?
> >
> > we didn't do that kind of thing. we have a company-level artifactory
> > repository.someone didn't follow the rule but most of us are good
> citizen,
> > and follow the maven RULE,
> > Is maven block strategy to block IP  too strict?
> > Can I do anything to Fix it Up?
> >
> >
> >
> > 2008/9/26 Wayne Fay <[EMAIL PROTECTED]>
> >
> > > It is possible to get blocked if you are acting as a bad citizen
> > > (downloading the entire Central repo using wget, for example). Have
> > > you (or someone else at your company) attempted to do this from your
> > > IP address?
> > >
> > > If not, the repo is probably just busy, or you had some random
> > > Internet connection failure. Try again. "Normal" Maven usage of the
> > > repo will not get you blocked.
> > >
> > > Wayne
> > >
> > > On Fri, Sep 26, 2008 at 7:37 AM, 陈思淼 <[EMAIL PROTECTED]> wrote:
> > > > This's log from artifactory.
> > > >
> > > > 2008-09-26 22:27:28,025 [WARN ] (RemoteRepoBase.java:259{10})     -
> > > repo1:
> > > > Error in getting information for 'org/apache/maven
> > > > /maven-model/2.0.4/maven-model-2.0.4.pom.sha1'
> > > > (org.apache.commons.httpclient.ConnectionPoolTimeoutException:
> Timeout
> > > > waiting
> > > >  for connection).
> > > >
> > > > we company only have one outlet IP address ,someone may download
> Maven
> > > from
> > > > apache and didn't set the Mirror of central in the conf/setting.xml.
> so
> > > they
> > > > download the pom directly from central? Is that the reason why the
> > > central
> > > > repo block our IP address?
> > > >
> > >
> >
> > ----------------------------------------------------------------------
> > CONFIDENTIALITY NOTICE This message and any included attachments are from
> > Cerner Corporation and are intended only for the addressee. The
> information
> > contained in this message is confidential and may constitute inside or
> > non-public information under international, federal, or state securities
> > laws. Unauthorized forwarding, printing, copying, distribution, or use of
> > such information is strictly prohibited and may be unlawful. If you are
> not
> > the addressee, please promptly delete this message and notify the sender
> of
> > the delivery error by e-mail or you may call Cerner's corporate offices
> in
> > Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

Reply via email to