Mod aaa-12 修改针对公司nexus的本地maven配置

RCA:
SOL:
修改人:dongxiancun
检视人:dongxiancun
This commit is contained in:
dongxiancun 2019-07-24 18:05:15 +08:00
parent a0af3df39a
commit f3e6de07d1
1 changed files with 27 additions and 37 deletions

View File

@ -99,39 +99,7 @@
<profile> <profile>
<id>cmhiodlreleaseprofile</id> <id>cmhiodlreleaseprofile</id>
<repositories> <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>sdndev</id>
<!-- 设定远程主仓库,按设定顺序进行查找。 -->
<repositories>
<!--
aliyun aliyun
--> -->
<repository> <repository>
@ -167,7 +135,7 @@
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
</repository> </repository>
<repository> <repository>
<id>local-snapshot</id> <id>local-snapshot</id>
<url>http://nexus.komect.net/nexus/content/repositories/KomectAQBsnapshot/</url> <url>http://nexus.komect.net/nexus/content/repositories/KomectAQBsnapshot/</url>
<releases> <releases>
@ -177,10 +145,21 @@
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
</repository> </repository>
<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> </repositories>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>ali</id> <id>ali</id>
<name>aliyun-pluginRepository</name> <name>aliyun-pluginRepository</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url> <url>http://maven.aliyun.com/nexus/content/groups/public</url>
@ -191,11 +170,22 @@
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
</pluginRepository> </pluginRepository>
<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> </pluginRepositories>
</profile> </profile>
</profiles> </profiles>
<activeProfiles> <activeProfiles>
<activeProfile>sdndev</activeProfile>
<activeProfile>cmhiodlreleaseprofile</activeProfile> <activeProfile>cmhiodlreleaseprofile</activeProfile>
<activeProfile>cmhiodlsnapshotprofile</activeProfile> <activeProfile>cmhiodlsnapshotprofile</activeProfile>
</activeProfiles> </activeProfiles>