1.maven
配置阿里云
<mirrors>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
</mirrors>
修改本地仓库目录
<localRepository>D:/mydata/maven_repository</localRepository>
2.IDEA 配置
全局配置 maven
(不然 每次打开新项目都要配置一次,真烦)
1.关闭项目 在起始页 All settings =>Customize => All settings
2.System Settings 去除勾选的 Reopen ptoject on starup
3.maven 下修改为自己的配置