配置maven中settings.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> </mirrors>
原文地址:https://www.cnblogs.com/flypig666/p/11516115.html
时间: 2024-10-14 06:21:23