Thursday, September 15, 2011

proxy setting maven2

can be found under 

/etc/maven2/setting.xml

uncomment and edit the section

===============================

ex.

<settings>

  .
.
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxy.somewhere.com</host>
<port>8080</port>
<username>proxyuser</username>
<password>somepassword</password>
<nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
</proxy>
</proxies>
.
.
</settings>

No comments: