maven安装和配置
Windows安装
修改配置文件
编辑$MAVEN3$/conf/setting.xml
修改仓库地址
找到<localRepository>标签,修改为自己希望的仓库路径
修改
找到<mirrors>标签,在标签中间加入:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>

浙公网安备 33010602011771号