Thanks Wayne, i am using mirror in my system
<mirrors>
<mirror>
<id>central</id>
<mirrorOf>central</mirrorOf>
<url>http://mycentral/content/repositories/central</url>
</mirror>
</mirrors>
I am wondering why some artifacts still downloading from other repo, here
are example:
02:13:12 [INFO] Downloading:
http://mycentral/content/repositories/central/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
02:13:13 [INFO] Downloaded:
http://mycentral/content/repositories/central/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
(2 KB at 68.2 KB/sec)
02:13:13 [INFO] Downloading:
http://mycentral/content/repositories/releases/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
02:13:13 [INFO] Downloading:
http://mycentral/content/repositories/plugins/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
02:13:13 [INFO] Downloading:
http://antlr.org/antlr-snapshot/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
The POM actually downloaded already from mycentral, but it's still try to
download from http://antlr.org.
Looks like this repository is defined in the parent POM of stringtemplate.
How can i stop downloading from other repository?
I am using Maven 3.1.1
--
View this message in context:
http://maven.40175.n5.nabble.com/Re-Maven-3-1-1-dependency-downloading-issues-tp5788056p5788183.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]