Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Hongyi Zhao
Piotr Żygieło 于2020年5月31日周日 下午7:21写道: > > > 2. Then I try to use the environment variable based method to set the > > proxy but failed to confirm it. See the following for more info: > > > > > > Use the proxy setting directly in maven's command options: > > Or define them in the MAVEN_OPTS

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Hongyi Zhao
Piotr Żygieło 于2020年5月31日周日 下午7:21写道: > > > 2. Then I try to use the environment variable based method to set the > > proxy but failed to confirm it. See the following for more info: > > > > > > Use the proxy setting directly in maven's command options: > > Or define them in the MAVEN_OPTS

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Piotr Żygieło
> 2. Then I try to use the environment variable based method to set the > proxy but failed to confirm it. See the following for more info: > > > Use the proxy setting directly in maven's command options: > Or define them in the MAVEN_OPTS environment variable: > > As you can see, in this case, it

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Hongyi Zhao
Hongyi Zhao 于2020年5月31日周日 下午6:34写道: > > Michael Osipov 于2020年5月31日周日 下午3:56写道: > > > > Am 2020-05-31 um 03:31 schrieb Hongyi Zhao: > > > 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. > > > > We

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Hongyi Zhao
Michael Osipov 于2020年5月31日周日 下午3:56写道: > > Am 2020-05-31 um 03:31 schrieb Hongyi Zhao: > > 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. > > We don't support Debian-packaged Maven versions for various

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Hongyi Zhao
Michael Osipov 于2020年5月31日周日 下午3:56写道: > > Am 2020-05-31 um 03:31 schrieb Hongyi Zhao: > > Hi, > > > > I'm using Ubuntu 20.04 and installed maven using ` sudo apt-get > > install maven `. I've installed the latest version from maven official website and set the PATH to override the system's

Re: Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-31 Thread Michael Osipov
Am 2020-05-31 um 03:31 schrieb Hongyi Zhao: 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. We don't support Debian-packaged Maven versions for various reasons. When I set it via environment variable liek this:

Setting socks5 proxy for maven using settings.xml doesn't take effect.

2020-05-30 Thread Hongyi Zhao
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