Idea加载pom依赖卡顿解决

一、确认Idea Maven配置

1. maven home path可以选择为本地maven安装目录,重新选择User Settings file,选择maven home path/conf/settings.xml文件

2. 将settings.xml重新配置到本地/Users/xxxx/.m2/路径下(windows用户是C://用户//xxx//.m2)路径下

二、确认setting.xml文件中的mirror配置信息

1. 打开 仓库服务 (aliyun.com) ,根据首页可以找到maven/gradle地址

2. 根据对应的格式,复制粘贴即可

三、配置文件中增加

<activeProfiles>
      <activeProfile>profileid</activeProfile>
</activeProfiles>

  

原文地址:https://www.cnblogs.com/chenxi-mxj/p/15217068.html