Maven downloads the jar to find a foreign address, so the download jar is slow to affect development efficiency, so the MAVEN image address will appear, allowing our developers to quickly download the relevant jar.
In the Setting.xml file of Maven config, we found:
The mirror configuration is for mirroring.
1 Domestic connection MAVEN official warehouse update depends on the library, the speed is generally very slow, collect some domestic fast maven warehouse image to spare. 2 3 ==================== Domestic Oschina provided the mirror, very good ===================4 5 <Mirror>6 7 <ID>CN</ID>8 <name>Oschina Central</name> 9 <URL>http://maven.oschina.net/content/groups/public/</URL>Ten <mirrorof>Central</mirrorof> One A </Mirror> - - ======================================================== the - Oschina Maven Library usage help - - + ================== other maven warehouse image ========================== - + <Mirror> A <ID>Repo2</ID> at <mirrorof>Central</mirrorof> - <name>Human readable Name for this Mirror.</name> - <URL>http://repo2.maven.org/maven2/</URL> - </Mirror> - <Mirror> - <ID>Net-cn</ID> in <mirrorof>Central</mirrorof> - <name>Human readable Name for this Mirror.</name> to <URL>http://maven.net.cn/content/groups/public/</URL> + </Mirror> - <Mirror> the <ID>Ui</ID> * <mirrorof>Central</mirrorof> $ <name>Human readable Name for this Mirror.</name> Panax Notoginseng <URL>http://uk.maven.org/maven2/</URL> - </Mirror> the <Mirror> + <ID>Ibiblio</ID> A <mirrorof>Central</mirrorof> the <name>Human readable Name for this Mirror.</name> + <URL>http://mirrors.ibiblio.org/pub/mirrors/maven2/</URL> - </Mirror> $ <Mirror> $ <ID>Jboss-public-repository-group</ID> - <mirrorof>Central</mirrorof> - <name>JBoss Public Repository Group</name> the <URL>Http://repository.jboss.org/nexus/content/groups/public</URL> - </Mirror>Wuyi the - <Mirror> Wu <ID>jbossjbpm</ID> - <mirrorof>Central</mirrorof> About <name>JBOSSJBPM Repository</name> $ <URL>https://repository.jboss.org/nexus/content/repositories/releases/</URL> - </Mirror> - -------------------------Spring maven-------------------------------- - http://maven.springframework.org/release/ A --------------------------------------------------------------------- + http://maven.antelink.com/content/repositories/central/ the http://nexus.openkoala.org/nexus/content/groups/Koala-release/ - http://maven.tmatesoft.com/content/groups/public/ $http://mavensync.zkoss.org/maven2/
Reference: http://www.cnblogs.com/dingyingsi/p/3856456.html
Maven warehouse download slow, how to solve