Remove <repositories> and <pluginRepositories> sections 73/26573/2
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 11:49:37 +0000 (11:49 +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>
pom.xml

diff --git a/pom.xml b/pom.xml
index a1b0485d1a87fff8829335bcf36bcb260c786d2d..e27fa93fb651f0e90ef34cd6863e875052b8e43f 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>