Re: Maven 3.1.1 dependency downloading issues

2014-03-13 Thread Ron Wheeler
Your proxy repo should be proxying all of the hosted repos that you want to search. Point maven at your proxy not the hosted repos On 13/03/2014 1:56 AM, James Mao wrote: Hi Wayne, Thanks for the quick reply. But not everything is in urlhttp://mycentral/content/repositories/central/url I

Re: Maven 3.1.1 dependency downloading issues

2014-03-13 Thread Bernd Eckenfels
Hello, you can also use mirrorOf!myrepo,!plugin,*/mirrorOf But generally it is sooner or later a good idea to have a repository manager like nexus or archiva which has a special proxy support and allows to define virtual repositories (consiting of repository groupsand proxied repositories)

Re: Maven 3.1.1 dependency downloading issues

2014-03-12 Thread James Mao
Thanks Wayne, i am using mirror in my system mirrors mirror idcentral/id mirrorOfcentral/mirrorOf urlhttp://mycentral/content/repositories/central/url /mirror /mirrors I am wondering

Re: Maven 3.1.1 dependency downloading issues

2014-03-12 Thread Wayne Fay
mirrorOfcentral/mirrorOf ... I am wondering why some artifacts still downloading from other repo, here ... How can i stop downloading from other repository? The mirrorOf value should be an asterisk/star, as I stated before: mirrorOf*/mirrorOf which will capture all

Re: Maven 3.1.1 dependency downloading issues

2014-03-12 Thread James Mao
Hi Wayne, Thanks for the quick reply. But not everything is in urlhttp://mycentral/content/repositories/central/url I also have http://mycentral/content/repositories/releases, http://mycentral/content/repositories/plugins, http://mycentral/content/repositories/snapshots. If

Re: Maven 3.1.1 dependency downloading issues

2014-03-11 Thread Bernd Eckenfels
Hello, Am Tue, 11 Mar 2014 09:20:57 + schrieb Mao, James(Maode) m...@ebay.com: Hi, I found that Maven 3.1.1 will try downloading the artifacts in parallel. This cause the issue, actually the first try already downloaded the pom, but Maven still trying other repository in paralle. Not

RE: Maven 3.1.1 dependency downloading issues

2014-03-11 Thread Mao, James(Maode)
...@zusammenkunft.net] Sent: Wednesday, March 12, 2014 10:43 AM To: Mao, James(Maode) Cc: users@maven.apache.org Subject: Re: Maven 3.1.1 dependency downloading issues Hello, Am Tue, 11 Mar 2014 09:20:57 + schrieb Mao, James(Maode) m...@ebay.com: Hi, I found that Maven 3.1.1 will try downloading

Re: Maven 3.1.1 dependency downloading issues

2014-03-11 Thread Wayne Fay
If it's correct, seems my options are 1. configure the threads to just 1, so mycental always the first one to try. 2. block all external repositories, just left mycentral. Generally speaking, I'd expect you should have a mirror for this mycentral defined in settings.xml with a configuration of