配置很简单,修改conf文件夹下的settings.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>
配置很简单,修改conf文件夹下的settings.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://www.cnblogs.com/present/p/6290874.html