idea 更换 maven ,并更换阿里镜像
1 ctrl + alt + s 打开设置,
找到Maven

修改maven包的地址,然后修改settings.xml
注意了,有时候repository没有,那么需要在settings.xml配置repository的路径

打开settings.xml ,在下图位置设置

3.更换阿里镜像,也是在settings.xml 配置

<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
本文来自博客园,作者:岑惜,转载请注明原文链接:https://www.cnblogs.com/c2g5201314/p/14399714.html
响应开源精神相互学习,内容良币驱除劣币

浙公网安备 33010602011771号