Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-6
-
Fix Version/s: 3.0-alpha-7
-
Component/s: None
-
Labels:None
-
Environment:HideApache Maven 3.0-alpha-6 (r896384; 2010-01-06 11:00:46+0000)
Java version: 1.6.0_16
Java home: C:\Java\jdk1.6.0_16\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"ShowApache Maven 3.0-alpha-6 (r896384; 2010-01-06 11:00:46+0000) Java version: 1.6.0_16 Java home: C:\Java\jdk1.6.0_16\jre Default locale: en_GB, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
-
Complexity:Intermediate
-
Number of attachments :
Description
For some artifacts Maven ignores the proxy defined in the per user settings.xml and tries to connect directly which results in a connection timeout.
I will attempt to create a simplified test case but meanwhile.
1) install a web proxy
2) install a nexus repo manager
3) configure your machine so it can not see the repo manager.
4) add central and sonatype forge to the repo manager and configre repo manager and settings.xml for proxy and mirror.
5) delete local repository
6) checkout http://svn.sonatype.org/nexus-plugins/trunk/nexus-archetype-plugin/
7) mvn package.
The build will fail.
delete the metadata for the associated failed files in the local repo
run mvn -e package
in another shell run netstat -an
observe that the machine is trying to connect to repository.sonatype.org (63.246.20.88:80)
observe that the stack traces the socket is a plain socket and it is a plain connect not a proxy connect.
Could you please attach a complete debug log of your build? In particular, I'm interested in some more context around the resolution error and the full exception stack trace of it. Thanks.