Remove <repositories> and <pluginRepositories> sections 09/26609/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 6 Sep 2015 12:46:26 +0000 (08:46 -0400)
committerVratko Polák <vrpolak@cisco.com>
Mon, 7 Sep 2015 13:07:30 +0000 (13:07 +0000)
Last year we decided to stop including these repository configuration in
pom.xml files since as a requirement to submitting to Maven Central is
to not have these defined. Developers now need to configure settings.xml
locally instead.

Change-Id: I8e5ff7754134bd208d6d1b595294422fb66cd575
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(cherry picked from commit 317eb8f31ac9bfddd8490ecc7a35e097300d359f)

pom.xml

diff --git a/pom.xml b/pom.xml
index 1fd9a00d34d5f788646fce168df7477026e8bf61..4a671c8e2c2df4ef6dd1763805f03b1130d2aacd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <module>features/</module>
     <module>feature-selector</module>
   </modules>
-  <repositories>
-    <!-- OpenDayLight Repo Mirror -->
-    <repository>
-      <id>opendaylight-mirror</id>
-      <name>opendaylight-mirror</name>
-      <url>${nexusproxy}/groups/public/</url>
-      <snapshots>
-          <enabled>false</enabled>
-      </snapshots>
-      <releases>
-          <enabled>true</enabled>
-          <updatePolicy>never</updatePolicy>
-      </releases>
-    </repository>
-    <!-- OpenDayLight Snapshot artifact -->
-    <repository>
-      <id>opendaylight-snapshot</id>
-      <name>opendaylight-snapshot</name>
-      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-      <snapshots>
-          <enabled>true</enabled>
-      </snapshots>
-      <releases>
-          <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>central2</id>
-      <name>central2</name>
-      <url>${nexusproxy}/repositories/central2/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>opendaylight-snapshot</id>
-      <name>central2</name>
-      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-    </pluginRepository>
-  </pluginRepositories>
+
   <distributionManagement>
     <!-- OpenDayLight Released artifact -->
     <repository>