大家都知道国外Maven中央仓库下载东西 非常慢的;
这里提供下国内牛逼的Maven镜像 阿里云Maven镜像;
配置下setting.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>
可能有些人找不到settingg地址:
我们打开eclipse 然后windows-Preferences
然后Maven - User Settings