[ https://issues.apache.org/jira/browse/WAGON-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585035#comment-16585035 ]
Noel Grandin commented on WAGON-521: ------------------------------------ I am sorry, I don't know what Wagon is. I assume you mean some internal component of Maven? On Windows, by default, out of the box, Maven does not use the system configured proxy. This is with an empty settings.xml. By "system proxy" I mean the proxy configured globally, in Windows Control Panel. I logged the bug here because mvnwrapper said they thought this should be fixed in core Maven, or whatever part of core Maven handles proxies. Does that help? > Maven cannot use system default proxies > --------------------------------------- > > Key: WAGON-521 > URL: https://issues.apache.org/jira/browse/WAGON-521 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-http > Affects Versions: 3.1.0 > Environment: All > Reporter: Noel Grandin > Priority: Major > > when using maven from behind a proxy, it cannot connect to download > The maven/java stuff will not use the system proxies unless explicitly told > to do so, which is a problem when maven tries to download the jars it needs > :-) > Basically, I need the following option added to the java command line: > -Djava.net.useSystemProxies=true > Sun did not see to make this the default because of backwards compatibility, > which is a right PITA, but anyhow :-) > Please also see original issue here: > https://github.com/takari/maven-wrapper/issues/58 > https://github.com/pmd/pmd/issues/498 -- This message was sent by Atlassian JIRA (v7.6.3#76005)