加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
settings.xml 5.97 KB
一键复制 编辑 原始数据 按行查看 历史
yuebin 提交于 2024-10-08 16:16 . 优化
<?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>C:\DevProgramData\MavenRepository</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
<!-- https://issues.sonatype.org/ 网站的用户名和密码-->
<server>
<id>ossrh</id>
<username>username</username>
<password>password</password>
</server>
<server>
<id>intranet-nexus</id>
<username>admin</username>
<password>work@12345</password>
</server>
</servers>
<mirrors>
<mirror>
<id>nexus-intranet</id>
<mirrorOf>central</mirrorOf>
<name>Nexus intranet</name>
<url>http://nexus.lywl.lan:8081/repository/maven-public/</url>
</mirror>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>intranet-nexus</id>
<repositories>
<repository>
<id>intranet-nexus-releases</id>
<url>http://nexus.lywl.lan:8081/repository/maven-releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>intranet-nexus-snapshots</id>
<url>http://nexus.lywl.lan:8081/repository/maven-snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>intranet-nexus</id>
<url>http://nexus.lywl.lan:8081/repository/maven-releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>mvn-repo</id>
<repositories>
<repository>
<id>mvn-repo</id>
<url>http://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mvn-repo</id>
<url>http://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>aliyun</id>
<repositories>
<repository>
<id>maven-aliyun</id>
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven-aliyun</id>
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>sonatype</id>
<repositories>
<repository>
<id>sonatype-s01</id>
<url>https://s01.oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>sonatype-s01-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>sonatype-s01</id>
<url>https://s01.oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- 第一个找不到去找第二个 -->
<activeProfiles>
<activeProfile>aliyun</activeProfile>
<activeProfile>sonatype</activeProfile>
</activeProfiles>
</settings>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化