Hello,
you can also use
!myrepo,!plugin,*
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)
Greetings
Bernd
Am
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
http://mycentral/content/repositories/central
I also have
Hi Wayne,
Thanks for the quick reply.
But not everything is in
http://mycentral/content/repositories/central
I also have http://mycentral/content/repositories/releases,
http://mycentral/content/repositories/plugins,
http://mycentral/content/repositories/snapshots.
If used*, everything asked wi
> central
...
> 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:
>> * which will capture all repo requests, and
Wayne
--
Thanks Wayne, i am using mirror in my system
central
central
http://mycentral/content/repositories/central
I am wondering why some artifacts still downloading from other repo, here
> 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 for this
"mycentral" defined in settings.xml with a configuration of
*
Eckenfels [mailto:e...@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)" :
> Hi,
>
> I found th
Hello,
Am Tue, 11 Mar 2014 09:20:57 +
schrieb "Mao, James(Maode)" :
> 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 sure