Maven镜像仓库替换为阿里云镜像仓库

###

1、在本地 maven 的 setting配置文件中加上阿里云镜像地址


2、新增内容如下

  <!-- 阿里镜像仓库 -->
    <mirror>
        <id>alimaven</id>
        <name>aliyun maven</name>
        <url>
            http://maven.aliyun.com/nexus/content/groups/public/
        </url>
        <mirrorOf>central</mirrorOf>
    </mirror>

原文地址:

https://www.jianshu.com/p/dddc8b8c5c74

###

原文地址:https://www.cnblogs.com/faithH/p/15049601.html