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 2020/03/07 07:25:00 UTC

[jira] [Issue Comment Deleted] (MJAVADOC-641) 3.1.1 does not handle proxy username or proxy password

     [ https://issues.apache.org/jira/browse/MJAVADOC-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MJAVADOC-641:
------------------------------------
    Comment: was deleted

(was: {{HttpUrlConnection}} is a mess with configuration. I have tried several times to make it right. It seems to be very hard to do so. Can you provide what information you have configured?)

> 3.1.1 does not handle proxy username or proxy password
> ------------------------------------------------------
>
>                 Key: MJAVADOC-641
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-641
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: jar
>    Affects Versions: 3.1.1
>            Reporter: Thomas Cunningham
>            Priority: Major
>
> I'm seeing the following trying to build camel behind a firewall : 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:jar (attach-javadocs) on project camel-util: MavenReportException: Error while generating Javadoc: 
> [ERROR] Exit code: 1 - javadoc: error - Error fetching URL: https://download.oracle.com/javase/7/docs/api/
> [ERROR] javadoc: error - Error fetching URL: [https://download.oracle.com/javaee/7/api/]
>  
> This is a new issue for us, and maven-javadoc-plugin 3.0.1 seems to work fine while 3.1.1 gives this error.
>  
> I dug in a little and I think the issue is that in 3.0.1 handles proxy username and password :
> [https://github.com/apache/maven-javadoc-plugin/blob/maven-javadoc-plugin-3.0.1/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L3606-L3614]
>  
> As far as I can see (and I might be missing something here), 3.1.1 does not : 
> [https://github.com/apache/maven-javadoc-plugin/blob/maven-javadoc-plugin-3.1.1/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L3674-L3690]
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)