Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-641

3.1.1 does not handle proxy username or proxy password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.1
    • None
    • jar
    • None

    Description

      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

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            twcunningham Thomas Cunningham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: