idea中maven依赖包下载不下来

今天拉了个新项目

但是依赖包一直更新不下来,reimport几次了都不行

检查m2的配置文件,使用的是阿里云的镜像没问题。

 

最后懒得排查了,直接在项目pom中单独加入阿里云镜像算了

idea中maven依赖包下载不下来

<!-- 不知道为什么在maven的settings.xml中配置没有生效,因此手动使用aliyun镜像 -->
<repositories>
    <repository>
        <id>aliyun</id>
        <name>aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </repository>
</repositories>