依赖maven下载包特别慢的时候解决方案,可以选择阿里镜像

在maven的setting文件加上这个,配置阿里镜像,速度快了一万倍  

<mirrors>

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

猜你喜欢

转载自blog.csdn.net/xiaojiahao_kevin/article/details/61203969