使用阿里云的镜像,体验飞一般的下载速度哈哈,和原来的那个不一样的感觉啊。在maven的settings.xml中,找到其中的标签,加入下面阿里云的镜像:
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>