Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Labels:
      None
    • Environment:
      maven-2.0.10
      jdk 1.6_014
    • Flags:
      Patch

      Description

      • Prerequisite :
        --------------------
      • web access via http proxy
      • javadoc-plugin configuration with <detectLinks>true</detectLinks>
      • $MVN_HOME/conf/settings.xml with configuration above ( internal-host is host to access the internal javadoc web sites )
        <proxies>
        <proxy>
        <active>true</active>
        <protocol>http</protocol>
        <host>myproxyhost</host>
        <port>myproxyport</port>
        <nonProxyHosts>internal-host</nonProxyHosts>
        </proxy>
        </proxies>

      Launch the mvn site-deploy command.
      If you have a dependency with an internal javadoc web site, the plugin tried to link this javadoc with the http proxy and logged:
      "Error fetching link: http://internal-host/..../apidocs/package-list. Ignored it."

      This is a bug because this javadoc isn't accessible via http proxy.

      So I attached 2 patches :

      • the first one (link_nonproxy_2.0.10.patch) is compatible (and tested) with mvn 2.0.9 and 2.0.10 but included a method directly copied from ProxyUtils.java (wagon-provider-api-1.0-beta-6.jar)
      • the second (link_nonproxy_2.2.0.patch) used 2 classes from wagon-provider-api-1.0-beta-6.jar dependency so it requires mvn 2.2
      1. link_nonproxy_2.0.10.patch
        4 kB
        Maxime Gréau
      2. link_nonproxy_2.2.0.patch
        5 kB
        Maxime Gréau

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Siveton Vincent
              Reporter:
              Maxime Gréau
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development