Proxy : System variable instead of Environment variable
sparqueur opened this issue · 0 comments
sparqueur commented
Hi,
There is either an issue in the documentation or in the code.
Doc says :
To specify an explicit proxy set the environment variables http.proxyHost and http.proxyPort
In DetectProxyConfig.java :
String proxyHost = System.getProperty("http.proxyHost");
Integer proxyPort = Integer.getInteger(System.getProperty("http.proxyPort"));
-> It should be System.getEnv
Maybe you could have both.
I currently have to use a third party maven plugin (properties-maven-plugin) to set this variables.
Regards