Further, you can configure Nexus to do the automatic fallback:
http://www.sonatype.com/books/nexus-book/reference/config-sect-manage-repo.html#sect-config-selecting-mirrors-proxy

On Fri, Mar 5, 2010 at 5:15 PM, Jesse Farinacci <[email protected]> wrote:
> Hi Laird,
>
> On Fri, Mar 5, 2010 at 5:04 PM, Laird Nelson <[email protected]> wrote:
>>
>> The setup: I have a Nexus repository manager installed at work.  Sometimes
>> I'm on the VPN, sometimes I'm not.  I'd like it so that if I'm off the VPN
>> and therefore Nexus isn't available to proxy all the repositories from any
>> given POM, that the repositories so proxied should be used directly instead.
>>
>
> Why don't you set up a local MRM (e.g. Nexus) on your work station and
> mirrorOf * to it. You could then customize your local MRM to
> proxy-host from your official corporate MRM. You probably also want to
> create rules on your local MRM to never try and fetch your internal
> corporate artifacts from anywhere other than the official corporate
> MRM.
>
> This setup works pretty great, I've been using it for quite a while.
>
> Good luck!
> -Jesse
>
> --
> There are 10 types of people in this world, those
> that can read binary and those that can not.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to