IDEA 倒入maven项目下载很慢

1.找到安装maven的路径 
2.直接搜索settings.xml文件 

 

 

 <mirror>
      <!--This sends everything else to /public -->
      <id>nexus</id>
      <mirrorOf>*</mirrorOf>   <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
 </mirror>
 <mirror>
      <!--This is used to direct the public snapshots repo in the 
          profile below over to a different nexus group -->
      <id>nexus-public-snapshots</id>
      <mirrorOf>public-snapshots</mirrorOf> 
      <url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
 </mirror>

 

镜像仓库缓存阿里的,速度立马飙上去了

 

posted @ 2018-08-11 13:20  happyfresher  阅读(264)  评论(0编辑  收藏  举报