IntelliJ IDEA如何默认使用阿里云的Maven仓库

点击IntelliJ IDEA的config中的setting选项

在<mirrors>节点中加上一个子节点,然后保存即可:

<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/dingjiaoyang/p/12066517.html