|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
|
|
|
|
|
|
|
|
|
|
<!-- 构建系统本地仓库的路径 -->
|
|
|
|
|
<localRepository>/Users/admin/.m3/repository</localRepository>
|
|
|
|
|
|
|
|
|
|
<pluginGroups>
|
|
|
|
|
<!-- pluginGroup
|
|
|
|
|
| Specifies a further group identifier to use for plugin lookup.
|
|
|
|
|
<pluginGroup>com.your.plugins</pluginGroup>
|
|
|
|
|
-->
|
|
|
|
|
</pluginGroups>
|
|
|
|
|
|
|
|
|
|
<!-- proxies
|
|
|
|
|
| This is a list of proxies which can be used on this machine to connect to the network.
|
|
|
|
|
| Unless otherwise specified (by system property or command-line switch), the first proxy
|
|
|
|
|
| specification in this list marked as active will be used.
|
|
|
|
|
|-->
|
|
|
|
|
<proxies>
|
|
|
|
|
|
|
|
|
|
</proxies>
|
|
|
|
|
|
|
|
|
|
<!-- servers
|
|
|
|
|
| This is a list of authentication profiles, keyed by the server-id used within the system.
|
|
|
|
|
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|
|
|
|
|
|-->
|
|
|
|
|
<servers>
|
|
|
|
|
<!-- 配置本地仓库访问私服的权限 nexus的 登录用户名密码 -->
|
|
|
|
|
<server>
|
|
|
|
|
<id>maven-releases</id>
|
|
|
|
|
<username>admin</username>
|
|
|
|
|
<password>452131wW</password>
|
|
|
|
|
</server>
|
|
|
|
|
<server>
|
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
|
<username>admin</username>
|
|
|
|
|
<password>452131wW</password>
|
|
|
|
|
</server>
|
|
|
|
|
|
|
|
|
|
</servers>
|
|
|
|
|
|
|
|
|
|
<mirrors>
|
|
|
|
|
|
|
|
|
|
<!-- 配置本地仓库资源来源 -->
|
|
|
|
|
<mirror>
|
|
|
|
|
<id>maven-public</id>
|
|
|
|
|
<mirrorOf>*</mirrorOf>
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-public/</url>
|
|
|
|
|
</mirror>
|
|
|
|
|
</mirrors>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
|
|
<!-- 属性列表配置 -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>my-profile</id>
|
|
|
|
|
<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>
|
|
|
|
|
<!-- 远程仓库列表 maven用来填充构建系统本地仓库所使用的一组远程仓库 -->
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-central</id>
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-central/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-releases</id>
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-releases/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-snapshots/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
<id>maven-public</id>
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-public/</url>
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
<activeProfiles>
|
|
|
|
|
<activeProfile>my-profile</activeProfile>
|
|
|
|
|
</activeProfiles>
|
|
|
|
|
|
|
|
|
|
</settings>
|