1. 程式人生 > >maven專案的源改為阿里源

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>


就可以使用阿里雲了,速度很快的(注: 如果裡面已經有了這個標籤,註釋掉就行)