You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by an...@nokia.com on 2006/03/22 08:14:50 UTC

Proxy optional

Hi,
 
can I somehow configute the proxy setting optional? So that when I'm not connected to the company intranet, the proxy is ignored and direct http requests are made?
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 


________________________________

This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ 
________________________________



Re: Proxy optional

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 3/22/06, andreas.ebbert-karroum@nokia.com
<an...@nokia.com> wrote:

> can I somehow configute the proxy setting optional? So that when I'm not connected to the company intranet, the proxy is ignored and direct http requests are made?

Basically, this is what profiles are for. Profiles can be activated by
various things. However, AFAIK, it is not possible to select a profile
based on network environment.

As Maven is not the only program that needs a different configuration
inside, or outside, of the company, I have choosen a different
approach: A program detects the network environment at startup. For
example, it chooses between "home", and "office". Based on its choice,
it copies a number of files from either of the folders "home", or
"office" to the right locations. At shutdown the same program is
called. It's task is copying the same files to the respective folder,
so that settings are saved.


Jochen

--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

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