secgateway/ControlPlatform/cmhi-settings.xml

203 lines
7.2 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<settings>
<mirrors>
<mirror>
<id>odlmirror1</id>
<name>opendaylight-release-mirror</name>
<mirrorOf>opendaylight-release</mirrorOf> <!--拦截 pom 文件配置的 repository-->
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-release/</url>
</mirror>
<mirror>
<id>odlmirror2</id>
<name>opendaylight-snapshot-mirror</name>
<mirrorOf>opendaylight-snapshot</mirrorOf> <!--拦截 pom 文件配置的 repository-->
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-snapshot/</url>
</mirror>
<mirror>
<id>aliyunmirror</id>
<mirrorOf>central</mirrorOf> <!--覆盖 Maven 默认的配置的中央仓库-->
<name>ALIYUN maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
<servers>
<!--
-->
<server>
<id>public-nexus</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>local-nexus</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>local-snapshot</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>cmhi-odlrelease</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>cmhi-odlsnapshot</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>opendaylight-release</id>
<username>aqb</username>
<password>aqb123</password>
</server>
<server>
<id>opendaylight-snapshot</id>
<username>aqb</username>
<password>aqb123</password>
</server>
</servers>
<profiles>
<!--倒序从上往下合并repositories合并到最下面的profile最下面的优先级高-->
<profile>
<id>cmhiodlsnapshotprofile</id>
<repositories>
<repository>
<id>cmhi-odlsnapshot</id>
<name>cmhi-odlsnapshot</name>
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-snapshot/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>cmhi-odlsnapshot</id>
<name>cmhi-odlsnapshot</name>
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-snapshot/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>cmhiodlreleaseprofile</id>
<repositories>
<repository>
<id>cmhi-odlrelease</id>
<name>cmhi-odlrelease</name>
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-release/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>cmhi-odlrelease</id>
<name>cmhi-odlrelease</name>
<url>http://nexus.komect.net/nexus/content/repositories/opendaylight-release/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>dev</id>
<!-- 设定远程主仓库,按设定顺序进行查找。 -->
<repositories>
<!--
aliyun
-->
<repository>
<id>ali</id>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!--
公司
-->
<repository>
<id>public-nexus</id>
<url>http://nexus.komect.net/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>local-nexus</id>
<url>http://nexus.komect.net/nexus/content/repositories/aqb/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>local-snapshot</id>
<url>http://nexus.komect.net/nexus/content/repositories/KomectAQBsnapshot/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ali</id>
<name>aliyun-pluginRepository</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>dev</activeProfile>
<activeProfile>cmhiodlreleaseprofile</activeProfile>
<activeProfile>cmhiodlsnapshotprofile</activeProfile>
</activeProfiles>
</settings>