Thursday, July 31, 2008

Connecting to remote maven repository through proxy server

In .m2 folder create a file called settings.xml and add following entry.

<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>Proxy server's ip here</host>
<port>8080</port>
<username></username>
<password></password>
</proxy>
</proxies>
</settings>

0 comments:

Post a Comment