Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14687

Cannot build camel behind firewall

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: build system
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm having issues building camel behind a firewall because of camel-javadoc-plugin.    It seems to be mostly copied from maven-javadoc-plugin 3.1.0 or 3.1.1, which stripped out proxy_user/password support https://issues.apache.org/jira/browse/MJAVADOC-565 - it's an issue because of the <links/>, and I end up with an error when javadoc tries to fetch them :

       

      [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: http://download.oracle.com/javase/7/docs/api/
      [ERROR] javadoc: error - Error fetching URL: http://download.oracle.com/javaee/7/api/

       

      I'd like to contribute a patch to set <isOffline>${camel.javadoc.isOffline}</isOffline> in the maven/camel-javadoc-plugin, so that camel can be built behind a firewall.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tcunning Thomas Cunningham
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m