[ 
https://issues.apache.org/jira/browse/MNG-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085442#comment-16085442
 ] 

Michael Osipov commented on MNG-6257:
-------------------------------------

It won't do anyway because this variable is used by {{URLConnection}}. Maven 
uses Apache HttpClient for transport by default. It has its own proxy config.

> explicitly enable http proxies
> ------------------------------
>
>                 Key: MNG-6257
>                 URL: https://issues.apache.org/jira/browse/MNG-6257
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.5.0
>         Environment: All
>            Reporter: Noel Grandin
>
> 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
(v6.4.14#64029)

Reply via email to