[
https://issues.jboss.org/browse/AS7-5142?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry commented on AS7-5142:
---------------------------------------
What's odd about this is the class that is trying to resolve
org.sonatype.aether:aether-api:jar:1.13.1
(org.sonatype.aether.impl.internal.DefaultArtifactResolver) is itself coming from
org.sonatype.aether:aether-api:jar:1.13.1. I don't know anything about that
DefaultArtifactResolver but I wouldn't think it would need to go to the internet to
resolve something that must already be in the local repository.
So, my guess is there's some issue in how the local repository is being found. This
seems be set up here:
https://github.com/jbossas/jboss-as/blob/7.1/subsystem-test/src/main/java...
Test MavenURLResourceTestCase#testMavenGav fails with Connection
timed out
--------------------------------------------------------------------------
Key: AS7-5142
URL:
https://issues.jboss.org/browse/AS7-5142
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.3.Final (EAP)
Reporter: Hauke Mehrtens
Priority: Minor
Labels: proxy
Attachments: org.jboss.as.subsystem.test.MavenURLResourceTestCase.txt
The test MavenURLResourceTestCase#testMavenGav fails with "Connection timed
out". This makes the default build fail for me, so I added an Ignored to the test
case and till now no other test failed.
I have no direct Internet connection, but I am behind a http proxy and building JBoss
worked before. I am on Ubuntu 11.04 and the proxy settings are added to ~/.m2/settings.xml
and some environment variables with the proxy url are also set.
This class with the failing test was added in 1a7d15d924f7df70115b22a067ead3882c61a184 by
kabir <kkhan(a)redhat.com>. I am using the 7.1 branch from github.
The error message:
testMavenGav(org.jboss.as.subsystem.test.MavenURLResourceTestCase) Time elapsed: 190.173
sec <<< ERROR!
java.lang.RuntimeException: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not transfer artifact org.sonatype.aether:aether-api:jar:1.13.1 from/to
jboss-developer (
http://repository.jboss.org/nexus/content/groups/developer/): Error
transferring file: Connection timed out
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira