【Maven】创建完maven工程后,idea右下角一直显示Downloading Maven Plugins的解决方式
idea左上角点击File-》Setting-》Bulid tools-》Maven


指定使用的 Maven 家目录自动识别到在 settings.xml 配置文件中指定的本地仓库且会用配置的镜像网站这样就会下的比较快
Maven的setting.xml文件配置
在settings下添加:

<localRepository>D:\apache-maven-3.5.4\repository</localRepository>
再在mirror下添加,将中央仓库镜像换成阿里云的

<mirror>
<id>nexus-aliyun</id>
<name>nexus-aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>

浙公网安备 33010602011771号