Very slow dependency resolution with disabled proxy IP
------------------------------------------------------
Key: MNG-3504
URL: http://jira.codehaus.org/browse/MNG-3504
Project: Maven 2
Issue Type: Bug
Components: Performance
Affects Versions: 2.0.8
Environment: Windows Vista x64
Reporter: Paul Dillon
Priority: Minor
I have a proxy defined in my settings.xml as follows:
<proxy>
<id>xxxx</id>
<active>false</active>
<protocol>http</protocol>
<host>192.168.1.223</host>
<port>8080</port>
<nonProxyHosts>192.168.*</nonProxyHosts>
</proxy>
This proxy lives on my office network. It is inactive because I am currently
working from home. However, although the proxy is inactive, during dependency
resolution maven pauses for 15 seconds per dependency per repository. Tracing
the network showed multiple ARP requests for 192.168.1.223. After commenting
out the inactive proxy performance returned to normal.
This issue is causing a 2 minute build to take over 1 hour. Using a DNS name
for the proxy address would also resolve the issue, but this is not allowed on
my work network.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira