Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1-beta-1
-
Component/s: core
-
Labels:None
-
Environment:All
-
Number of attachments :
Description
Java supports proxy through the following settings
httphttp.proxyHost (default: <none>)
http.proxyPort (default: 80 if http.proxyHost specified)
http.nonProxyHosts (default: <none>
With maven we can only provide the following:
maven.proxy.host=pproxy.slac.ca
maven.proxy.port=80
What is missing is the nonProxyHosts setting allowed by the jvm. This setting provide a way to bypass proxy when accessing internal servers. The following is a link to the java documentation describing this settigns in more detail.
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Right now, the work arround is to manually set the nonProxyHosts using -Dhttp.nonProxyHosts=... in the maven shell script.
Robert C
maven.http.nonProxyHosts now works with the same format.