<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- 修改 maven 仓库的默认存储位置 -->
<localRepository>D:\Program Files\apache-maven-3.2.1-new\repository</localRepository>
<mirrors>
<!-- 镜像所有远程仓库,但不包括指定的仓库 -->
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
</settings>
使用阿里的 maven 库
最新推荐文章于 2023-11-15 21:45:06 发布