在Maven的setting.xml文件的mirrors标签里加入
<mirror>
<id>alimaven
</id>
<mirrorOf>central
</mirrorOf>
<name>aliyun maven
</name> <url>http://maven.aliyun.com/nexus/content/repositories/central/
</url>
</mirror>
转载请注明原文地址: https://ju.6miu.com/read-663024.html