Hi, I'm using Ubuntu 20.04 and installed maven using ` sudo apt-get install maven `. Now, I want to set socks5 proxy for maven. When I set it via environment variable liek this:
export MAVEN_OPTS="-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=18887" It can work smoothly. But if I set it by using ` ~/.m2/setting.xml ', the socks5 proxy cannot be used at all. The content of the setting.xml file is as following: <proxies> <proxy> <id>ss</id> <active>true</active> <protocol>socks5</protocol> <username></username> <password></password> <host>127.0.0.1</host> <port>18887</port> <nonProxyHosts>127.0.0.1</nonProxyHosts> </proxy> </proxies> What's wrong with my settings or usages? Regards -- Hongyi Zhao <hongyi.z...@gmail.com> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org