You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/12/18 22:53:58 UTC

[jira] [Commented] (WAGON-453) java.net.useSystemProxies don't work with wagon-http-lightweight

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

Michael Osipov commented on WAGON-453:
--------------------------------------

Did you pass that property with {{MAVEN_OPTS}}? Java URL connection should pick that up. Don't configure a proxy in {{settings.xml}} though.

> java.net.useSystemProxies don't work with wagon-http-lightweight
> ----------------------------------------------------------------
>
>                 Key: WAGON-453
>                 URL: https://issues.apache.org/jira/browse/WAGON-453
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http-lightweight
>    Affects Versions: 2.10
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Java version: 1.8.0_74, vendor: Oracle Corporation
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>            Reporter: jycr
>            Priority: Blocker
>
> In my job, we must use a "corporate proxy" with "NTLM+SPNEGO authentication" to access Internet.
> Unfortunately, we haven't got any nominative proxy credential because Windows use current user session to authenticate against proxy (we we login to Windows session with a smart card).
> The only way for Java application to connect to internet is to launch JVM with {{-Djava.net.useSystemProxies=true}} standard parameter.
> It work perfectly with "standard" URLConnection , but unfortunately not with wagon-http-lightweight.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)