archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <>
Subject Re: best way to use Archiva with Maven mirrors (was: [VOTE] Release Archiva-1.0-beta-2)
Date Mon, 17 Sep 2007 01:42:26 GMT

On 17/09/2007, at 11:31 AM, Wendy Smoak wrote:

>> Here is how I've set it up:
> What's the advantage of using mirrors?  I don't.  I just override
> 'central' and 'apache.snapshots' directly as repositories.
> IMO, mirrors *should* fall back to the original url if the mirror
> isn't available.  That's not the way it's implemented in Maven right
> now, though.  Since I *never* want to contact central if my mirror is
> unavailable, I override the id and provide a replacement URL.

By using mirrorOf *, I'm able to prevent nefarious POMs introducing  
other repositories I'm not proxying.

And yeah, it's all kind of back to front definition-wise :)

- Brett

Brett Porter -

View raw message