Hi,

I found that Maven 3.1.1 will try downloading the artifacts in parallel.

02:04:47  Downloading: 
http://mycentral/content/repositories/central/javax/inject/javax.inject/1/javax.inject-1.pom
02:04:47  Downloaded: 
http://mycentral/content/repositories/central/javax/inject/javax.inject/1/javax.inject-1.pom
 (612 B at 28.5 KB/sec)
02:04:47  [DEBUG] Using connector WagonRepositoryConnector with priority 0.0 
for http://mycentral/content/repositories/plugins
02:04:47  Downloading: 
http://mycentral/content/repositories/plugins/javax/inject/javax.inject/1/javax.inject-1.pom
02:04:47  [DEBUG] Skipped remote update check for 
javax.inject:javax.inject:pom:1, already updated during this session.
02:04:47  Downloading: 
http://repository.jboss.org/maven2/javax/inject/javax.inject/1/javax.inject-1.pom

This cause the issue, actually the first try already downloaded the pom, but 
Maven still trying other repository in paralle.
In our CI server we cannot access repository.jboss.org. that cause the system 
hang until it's timeout.

My questions are,

l  Can we configure the threads number for parallel downloading.

l  Why Maven 3.1.1 will try to download artifacts from repository.jboss.org, we 
did not define in our settings.xml and pom. Can we remove those external 
repositories?

Thanks in advance,
James

Reply via email to