maven阿里云中央仓库 oschina的中央仓库可用,现在oschina的maven服务器关了,一直没找到国内镜像来替代。 找了个阿里云公开的一个中央仓库。 配置如下: 修改maven根目录下的conf文件夹中的setting.xml文件,内容如下:
<mirrors>
<mirror>
<id>alimaven
</id>
<name>aliyun maven
</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/
</url>
<mirrorOf>central
</mirrorOf>
</mirror>
</mirrors>
效果图:
转载请注明原文地址: https://ju.6miu.com/read-1200276.html