Maven 1

Missing support for 'nonProxyHosts' setting

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor 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 :
    0

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

Activity

Hide
Brett Porter added a comment -

maven.http.nonProxyHosts now works with the same format.

Show
Brett Porter added a comment - maven.http.nonProxyHosts now works with the same format.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: