80 lines
2.8 KiB
XML
80 lines
2.8 KiB
XML
<?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"
|
|
>
|
|
<!-- 指定本地仓库路径 -->
|
|
<localRepository>/home/user/.m2/repository</localRepository>
|
|
|
|
<mirrors>
|
|
<!-- 阿里云 Maven 仓库 -->
|
|
<mirror>
|
|
<id>aliyun-maven-repository</id>
|
|
<mirrorOf>*</mirrorOf>
|
|
<name>阿里云公共仓库</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
</mirror>
|
|
<!-- Maven 中央仓库 -->
|
|
<mirror>
|
|
<id>maven-central</id>
|
|
<mirrorOf>central</mirrorOf>
|
|
<name>Maven Central</name>
|
|
<url>https://repo1.maven.org/maven2</url>
|
|
</mirror>
|
|
<!-- JBoss 仓库 -->
|
|
<mirror>
|
|
<id>jboss-public-repository</id>
|
|
<mirrorOf>central</mirrorOf>
|
|
<name>JBoss Public Repository</name>
|
|
<url>https://repository.jboss.org/nexus/content/groups/public</url>
|
|
</mirror>
|
|
</mirrors>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>spring</id>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<activeProfiles>
|
|
<activeProfile>spring</activeProfile>
|
|
</activeProfiles>
|
|
</settings>
|