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.

My chief interest is software engineering, mainly dealing with Linux and Java projects, but also interested in teaching what I’ve learned, have published a couple of CBTs about programming in Persian (java/Android) and here I’ll share my thoughts and experiences in English as well.
Leave a Reply