第一步 修改 maven conf-->setting mirrors 添加如下镜像配置
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
第二步 配置 IDEA settings
添加xml 配置