19 November, 2008

Maven repository through socks proxy

There is the solution how to access remote maven repository through socks proxy.

Just put this string:

set MAVEN_OPTS=-DsocksProxyHost=yourSocksProxyHost -DsocksProxyPort=yourSocksProxyPort

to the beginning of the "apache-maven-2.x.x\bin\mvn.bat" file.