閱讀671 返回首頁    go 阿裏雲 go 技術社區[雲棲]


國內速度超快的maven repository

國內最好的maven repository
第一步:修改maven根目錄下的conf文件夾中的setting.xml文件,內容如下:

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

第二步: pom.xml文件裏添加

<repositories>  
        <repository>  
            <id>alimaven</id>  
            <name>aliyun maven</name>  
            <url>https://maven.aliyun.com/nexus/content/groups/public/</url>  
            <releases>  
                <enabled>true</enabled>  
            </releases>  
            <snapshots>  
                <enabled>false</enabled>  
            </snapshots>  
        </repository>  
</repositories>  

最後更新:2017-05-05 12:01:31

  上一篇:go ??????????????????????????????--?????????????????????????????????????????????????????????-??????-????????????-?????????
  下一篇:go 讓VIM支持Python2 by update-alternatives