test
This commit is contained in:
157
settings.xml
Normal file
157
settings.xml
Normal file
@@ -0,0 +1,157 @@
|
||||
<?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>/root/.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>
|
||||
</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>
|
||||
Reference in New Issue
Block a user