207 lines
5.9 KiB
XML
207 lines
5.9 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">
|
||
|
||
<!-- 本地仓库位置(容器中 user.home=/root,本地开发 user.home 为当前用户目录) -->
|
||
<localRepository>${user.home}/.m2/repository</localRepository>
|
||
|
||
<!-- 代理配置 -->
|
||
<proxies>
|
||
<!-- 如果需要HTTP代理,取消注释并配置 -->
|
||
<!--
|
||
<proxy>
|
||
<id>optional-proxy</id>
|
||
<active>true</active>
|
||
<protocol>http</protocol>
|
||
<host>proxy.host.com</host>
|
||
<port>8080</port>
|
||
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
|
||
</proxy>
|
||
-->
|
||
</proxies>
|
||
|
||
<!-- 镜像配置 -->
|
||
<mirrors>
|
||
<!-- 阿里云Maven镜像 -->
|
||
<mirror>
|
||
<id>aliyun-maven</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>Aliyun Maven Mirror</name>
|
||
<url>https://maven.aliyun.com/repository/central</url>
|
||
</mirror>
|
||
|
||
<!-- 华为云Maven镜像 -->
|
||
<mirror>
|
||
<id>huaweicloud-maven</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>HuaweiCloud Maven Mirror</name>
|
||
<url>https://repo.huaweicloud.com/repository/maven/</url>
|
||
</mirror>
|
||
|
||
<!-- 腾讯云Maven镜像 -->
|
||
<mirror>
|
||
<id>tencentyun-maven</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>TencentCloud Maven Mirror</name>
|
||
<url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
|
||
</mirror>
|
||
|
||
<!-- 网易云Maven镜像 -->
|
||
<mirror>
|
||
<id>netease-maven</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>Netease Maven Mirror</name>
|
||
<url>https://mirrors.163.com/maven/repository/maven-public/</url>
|
||
</mirror>
|
||
|
||
<!-- JBoss镜像 -->
|
||
<mirror>
|
||
<id>jboss-public-repository-group</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>JBoss Public Repository Group</name>
|
||
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
|
||
</mirror>
|
||
</mirrors>
|
||
|
||
<!-- 服务器认证配置 -->
|
||
<servers>
|
||
<!-- 如果需要私有仓库认证,在这里配置 -->
|
||
<!--
|
||
<server>
|
||
<id>private-repo</id>
|
||
<username>your-username</username>
|
||
<password>your-password</password>
|
||
</server>
|
||
-->
|
||
</servers>
|
||
|
||
<!-- 配置文件 -->
|
||
<profiles>
|
||
<!-- 默认配置 -->
|
||
<profile>
|
||
<id>default</id>
|
||
<activation>
|
||
<activeByDefault>true</activeByDefault>
|
||
</activation>
|
||
<repositories>
|
||
<!-- 阿里云仓库 -->
|
||
<repository>
|
||
<id>aliyun-central</id>
|
||
<url>https://maven.aliyun.com/repository/central</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- 阿里云公共仓库 -->
|
||
<repository>
|
||
<id>aliyun-public</id>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- Spring仓库 -->
|
||
<repository>
|
||
<id>spring-milestones</id>
|
||
<name>Spring Milestones</name>
|
||
<url>https://repo.spring.io/milestone</url>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- Atlassian仓库 -->
|
||
<repository>
|
||
<id>atlassian-public</id>
|
||
<url>https://maven.atlassian.com/repository/public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- e-iceblue Spire 仓库(用于 spire.pdf.free) -->
|
||
<repository>
|
||
<id>com.e-iceblue</id>
|
||
<url>https://repo.e-iceblue.com/nexus/content/groups/public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- e-iceblue Spire 仓库(CN 镜像备选) -->
|
||
<repository>
|
||
<id>com.e-iceblue-cn</id>
|
||
<url>https://repo.e-iceblue.cn/repository/maven-public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
|
||
<!-- JBossearlyaccess仓库 -->
|
||
<repository>
|
||
<id>jboss-earlyaccess</id>
|
||
<name>JBoss Early Access Repository</name>
|
||
<url>https://repository.jboss.org/nexus/content/groups/ea</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<pluginRepositories>
|
||
<!-- 阿里云插件仓库 -->
|
||
<pluginRepository>
|
||
<id>aliyun-plugin</id>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
|
||
<!-- Spring插件仓库 -->
|
||
<pluginRepository>
|
||
<id>spring-plugins</id>
|
||
<name>Spring Plugins</name>
|
||
<url>https://repo.spring.io/plugins-release</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
</pluginRepositories>
|
||
</profile>
|
||
</profiles>
|
||
|
||
<!-- 激活的配置 -->
|
||
<activeProfiles>
|
||
<activeProfile>default</activeProfile>
|
||
</activeProfiles>
|
||
</settings>
|