95 lines
3.5 KiB
XML
95 lines
3.5 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>D:\\maven\\repo</localRepository>
|
|
<servers>
|
|
<server>
|
|
<id>zeekr-releases</id>
|
|
<username>zeekr.maven</username>
|
|
<password>Devops@123!</password>
|
|
</server>
|
|
<server>
|
|
<id>zeekr-snapshots</id>
|
|
<username>zeekr.maven</username>
|
|
<password>Devops@123!</password>
|
|
</server>
|
|
<server>
|
|
<id>zeekr-public</id>
|
|
<username>zeekr.maven</username>
|
|
<password>Devops@123!</password>
|
|
</server>
|
|
<server>
|
|
<id>archetype</id>
|
|
<username>zeekr.maven</username>
|
|
<password>Devops@123!</password>
|
|
</server>
|
|
</servers>
|
|
<mirrors>
|
|
<mirror>
|
|
<id>zeekr-public</id>
|
|
<mirrorOf>*,!jahia,!Atlassian 3rd-P Old,!xebialabs</mirrorOf>
|
|
<name>maven-aliyun</name>
|
|
<url>http://devops-maven.zeekrlife.com/repository/maven-public/</url>
|
|
</mirror>
|
|
<mirror>
|
|
<id>aliyunmaven</id>
|
|
<mirrorOf>*,!jahia,!Atlassian 3rd-P Old,!xebialabs</mirrorOf>
|
|
<name>aliyun-public</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
</mirror>
|
|
<!--
|
|
<mirror>
|
|
<id>aliyunmaven</id>
|
|
<mirrorOf>*</mirrorOf>
|
|
<name>aliyun-public</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
</mirror>
|
|
-->
|
|
</mirrors>
|
|
<profiles>
|
|
<profile>
|
|
<id>nexus</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
<jdk>1.8</jdk>
|
|
</activation>
|
|
<repositories>
|
|
<repository>
|
|
<id>zeekr-public</id>
|
|
<url>http://devops-maven.zeekrlife.com/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>zeekr-snapshots</id>
|
|
<url>http://devops-maven.zeekrlife.com/repository/maven-snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>zeekr-releases</id>
|
|
<url>http://devops-maven.zeekrlife.com/repository/maven-releases/</url>
|
|
</repository>
|
|
</repositories>
|
|
<properties>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>profileArchetype</id>
|
|
<repositories>
|
|
<repository>
|
|
<!-- 这里的ID必须是叫 archetype -->
|
|
<id>archetype</id>
|
|
<name>archetype</name>
|
|
<url>http://devops-maven.zeekrlife.com/repository/maven-snapshots/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
</profile>
|
|
</profiles>
|
|
<activeProfiles>
|
|
<activeProfile>profileArchetype</activeProfile>
|
|
</activeProfiles>
|
|
</settings> |