You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Julian C. Dunn" <Ju...@cbc.ca> on 2004/06/08 15:50:49 UTC

failover for maven repository?

Hello,

I'm wondering if there is any way to get Maven to fail over to one or
more repositories when ibiblio.org is unavailable, or does not contain
the JARs that I'm looking for.

It seems like the "maven.repo.remote" knob is an all-or-nothing deal; if
I want to pull certain JARs from my local repository, I have to mirror
*all* of the ibiblio JARs I want.

Similarly, if I don't set "maven.repo.remote" to anything, I can't
override one particular JAR by pointing it to a local repository; i.e. a
maven.jar.foo property can only refer to a local filesystem path, not an
internal repository URL.

Is this a limitation of Maven, or of my understanding of how to
configure it?

- Julian

P.S. Anyone know why xalan 2.6.0 is missing from ibiblio?

-- 
Julian C. Dunn, B.A.Sc.  <Ju...@cbc.ca>
Software Developer, CBC New Media Operations
Office: 2C310-I  *  Tel.: (416) 205-3311 x5592

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: failover for maven repository?

Posted by Eric Pugh <ep...@upstate.com>.
Just put your repo before the ibiblio one and you'll pull from there
instead, and only go to ibiblio for the onese that are missing..

Eric

> -----Original Message-----
> From: Julian C. Dunn [mailto:Julian_Dunn@cbc.ca]
> Sent: Tuesday, June 08, 2004 3:51 PM
> To: Maven Users List
> Subject: failover for maven repository?
>
>
> Hello,
>
> I'm wondering if there is any way to get Maven to fail over to one or
> more repositories when ibiblio.org is unavailable, or does not contain
> the JARs that I'm looking for.
>
> It seems like the "maven.repo.remote" knob is an all-or-nothing deal; if
> I want to pull certain JARs from my local repository, I have to mirror
> *all* of the ibiblio JARs I want.
>
> Similarly, if I don't set "maven.repo.remote" to anything, I can't
> override one particular JAR by pointing it to a local repository; i.e. a
> maven.jar.foo property can only refer to a local filesystem path, not an
> internal repository URL.
>
> Is this a limitation of Maven, or of my understanding of how to
> configure it?
>
> - Julian
>
> P.S. Anyone know why xalan 2.6.0 is missing from ibiblio?
>
> --
> Julian C. Dunn, B.A.Sc.  <Ju...@cbc.ca>
> Software Developer, CBC New Media Operations
> Office: 2C310-I  *  Tel.: (416) 205-3311 x5592
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org