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

Laird Nelson commented on MJAVADOC-483:
---------------------------------------

Huh; I notice in {{Settings#getActiveProxy()}} that there is an assumption that 
there is [only one active 
proxy|http://maven.apache.org/ref/3.5.0/maven-settings/apidocs/org/apache/maven/settings/Settings.html#getActiveProxy()]
 with (presumably?) one protocol.  Probably the section in 
{{AbstractJavadocMojo}} that calls this method should be amended to get _all_ 
proxies and select active ones with the {{http}} or {{https}} protocols.  I'll 
see if I can put together a PR.

> Needs support for https.proxySet etc.
> -------------------------------------
>
>                 Key: MJAVADOC-483
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-483
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 2.10.4
>            Reporter: Laird Nelson
>
> I work at a ginormous company that has a proxy server.  I have an active 
> {{<proxy>}} in my {{.m2/settings.xml}} for the {{http}} protocol.  The 
> {{maven-javadoc-plugin}} picks this up fine.
> Weirdly, the {{javadoc}} invocation _also_ requires the {{https}} proxy to be 
> set.  There is no way to accomplish this with the {{maven-javadoc-plugin}}.
> IMHO it should see if there is an active {{<proxy>}} element whose protocol 
> is {{https}} as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to