Categories
Java

Using Maven with Socks Proxy

For bypassing using socks proxy use following command :

mvn install -DproxySet=true -Dsocks.proxyHost=YOU_SOCKS_PROXY_ADDRESS -Dsocks.proxyPort=SOCKS_PROXY_PORT

This command works in Linux and Windows

Happy coding.