maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Pettey (JIRA)" <>
Subject [jira] [Comment Edited] (MNG-5950) Only first active proxy considered
Date Fri, 11 Aug 2017 16:27:00 GMT


Gordon Pettey edited comment on MNG-5950 at 8/11/17 4:26 PM:

This is still a valid issue. Duplicate of MJAVADOC-483, though it seems to actually be a Maven
core issue.

was (Author: petteyg359):
This is still a valid issue. I think it is a duplicate, though I cannot find the issue I had
previously read that went more in depth. Basically, some getProxy method used by various plugins
(e.g. m-javadoc-p) only returns the first active proxy from settings.xml, irrespective of
protocol. So you can have either an HTTPS proxy or an HTTP proxy, but not both, and if you
need Maven to connect to both protocols via proxy during a build, you simply can't. The most
obvious way to experience this is of course with m-javadoc-p, with `<link>`s to both
HTTP and HTTPS remotes. Only one or the other will be able to connect via proxy, depending
on which is first in settings.xml.

> Only first active proxy considered
> ----------------------------------
>                 Key: MNG-5950
>                 URL:
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.5
>         Environment: windows 7 ,jdk 1.8
>            Reporter: Jiahongchao
> only http proxy or https proxy can be used at the same time,however,only one proxy should
be used for both http and https

This message was sent by Atlassian JIRA

View raw message