maven modify the mirror for the source Ali Taobao

Conf maven modify the file in the root folder setting.xml file (or file in the current setting.xml .m2 directory user directory) 

as follows:
<mirrors>
    <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>        
    </mirror>
  </mirrors>

 

Guess you like

Origin www.cnblogs.com/chenmz1995/p/10991288.html