How about modifying your mvn script to check what your network is and launch
maven with a property defined and configure your proxies pased on said
property using profile activation?

-Stephen

On 1 March 2010 13:44, Patrick Turcotte <[email protected]> wrote:

> How about installing and running Nexus on your own computer, pointing to
> your office first, and the world as a mirror?
>
> Patrick
>
> On 10-03-01 08:22 AM, Nick Klauer wrote:
> > More or less i've asked this on StackOverflow, but I was totally unaware
> of
> > the users mailing list, so I'm reposting here since it's *probably* more
> > appropriate:
> >
> >
> http://stackoverflow.com/questions/2354001/make-maven-proxy-server-settings-configurable-based-on-location
> >
> > What my issue boils down to is that I have a corporate proxy and Nexus
> Repo
> > at work.  When I'm at work, everything is great, works well.  However,
> when
> > I walk out of the office, I don't have to go through a proxy, nor do I
> have
> > our corporate private Maven repo to look for artifacts against.  How can
> I
> > configure my settings.xml file to work both in and out of the office
> based
> > on those two options?
> >
> > -Nick
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to