From issues-return-136567-archive-asf-public=cust-asf.ponee.io@maven.apache.org Sun Aug 19 08:29:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4532C180656 for ; Sun, 19 Aug 2018 08:29:03 +0200 (CEST) Received: (qmail 48002 invoked by uid 500); 19 Aug 2018 06:29:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 47990 invoked by uid 99); 19 Aug 2018 06:29:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2018 06:29:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D49D71A3581 for ; Sun, 19 Aug 2018 06:29:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UdPYRUMIS_Vk for ; Sun, 19 Aug 2018 06:29:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E4BCB5F260 for ; Sun, 19 Aug 2018 06:29:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6FAA2E04AD for ; Sun, 19 Aug 2018 06:29:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1D9C923F98 for ; Sun, 19 Aug 2018 06:29:00 +0000 (UTC) Date: Sun, 19 Aug 2018 06:29:00 +0000 (UTC) From: "Noel Grandin (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WAGON-521) Maven cannot use system default proxies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WAGON-521?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16585= 035#comment-16585035 ]=20 Noel Grandin commented on WAGON-521: ------------------------------------ I am sorry, I don't know what Wagon is. I assume you mean some internal com= ponent of Maven? On Windows, by default, out of the box, Maven does not use the system confi= gured 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 f= ixed in core Maven, or whatever part of core Maven handles proxies. Does that help? =C2=A0 > 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 to= ld to do so, which is a problem when maven tries to download the jars it ne= eds :-) > Basically, I need the following option added to the java command line: > -Djava.net.useSystemProxies=3Dtrue > Sun did not see to make this the default because of backwards compatibili= ty, which is a right PITA, but anyhow :-) > Please also see original issue here:=20 > 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)