maven可用镜像

 1 <mirrors>
 2 
 3     <mirror> 
 4         <id>alimaven</id> 
 5         <name>aliyun maven</name> 
 6         <url>http://maven.aliyun.com/nexus/content/groups/public/</url> 
 7         <mirrorOf>central</mirrorOf>
 8     </mirror> 
 9 
10     <mirror> 
11         <id>central</id> 
12         <name>Maven Repository Switchboard</name> 
13         <url>http://repo1.maven.org/maven2/</url> 
14         <mirrorOf>central</mirrorOf> 
15     </mirror> 
16 
17     <mirror> 
18         <id>repo2</id> 
19         <mirrorOf>central</mirrorOf> 
20         <name>Human Readable Name for this Mirror.</name> 
21         <url>http://repo2.maven.org/maven2/</url> 
22     </mirror> 
23 
24     <mirror> 
25         <id>ibiblio</id> 
26         <mirrorOf>central</mirrorOf> 
27         <name>Human Readable Name for this Mirror.</name> 
28         <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url> 
29     </mirror> 
30 
31   <mirror>
32       <id>ui</id>
33       <mirrorOf>central</mirrorOf>
34       <name>Human Readable Name for this Mirror.</name>
35       <url>http://uk.maven.org/maven2/</url>
36   </mirror>
37     
38 </mirrors>
原文地址:https://www.cnblogs.com/geekdc/p/6228754.html