IDEA自动的maven的远程仓库地址为国外地址,导致下载依赖时很慢,通过如下方法可以将其修改为国内地址
选中模块,右击,创建setting.xml文件
添加阿里仓库地址
<mirrors><mirror><id>nexus-aliyun</id><name>Nexus aliyun</name><url>http://maven.aliyun.com/nexus/content/groups/public/</url><mirrorOf>central</mirrorOf></mirror></mirrors>
Ctrl+Alt+S打开设置
使用刚才创建的配置文件