maven项目的源改为阿里源

找到MyElipse -> Window-> Preferences ->Myeclipse -> Maven4MyEclipse ->User Settings  找到 setting.xml 的位置打开文件


在标签<mirrors></mirrors> 中添加  


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


就可以使用阿里云了,速度很快的(注: 如果里面已经有了这个标签,注释掉就行)


猜你喜欢

转载自blog.csdn.net/qq_35649135/article/details/68064350
今日推荐