版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/y694721975/article/details/62440435
maven 配置文件conf/setting.xml 放到${user.home}/.m2/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>