Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6
-
None
-
None
-
maven-2.0.10
jdk 1.6_014
-
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
Attachments
Attachments
Issue Links
- relates to
-
MJAVADOC-253 Http proxy does not work any more
- Closed