Remove hard-coding of ONAP nexus repos 68/69768/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 3 Oct 2018 20:21:30 +0000 (13:21 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 3 Oct 2018 20:21:30 +0000 (13:21 -0700)
Remove hard-coding of ONAP nexus repos so that they can be
specified in the setting.xml for each build environment instead.

Change-Id: Ieea666eac1626c0d0f64e7db786aa73851c22cfe
Issue-ID: INT-678
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
oparent/pom.xml

index faafd12..2464ed9 100644 (file)
     <!-- If following file exist, auto-generation of sdk will be done -->
     <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
   </properties>
-  <repositories>
-    <repository>
-      <id>central</id>
-      <name>Maven 2 repository 2</name>
-      <url>http://repo2.maven.org/maven2/</url>
-    </repository>
-    <repository>
-      <id>ecomp-releases</id>
-      <name>ONAP Release Repository</name>
-      <url>https://nexus.onap.org/content/repositories/releases/</url>
-    </repository>
-    <repository>
-      <id>ecomp-snapshots</id>
-      <name>ONAP Snapshot Repository</name>
-      <url>https://nexus.onap.org/content/repositories/snapshots/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>central</id>
-      <name>Maven 2 repository 2</name>
-      <url>http://repo2.maven.org/maven2/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>ecomp-releases</id>
-      <name>ONAP Release Repository</name>
-      <url>https://nexus.onap.org/content/repositories/releases/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>ecomp-snapshots</id>
-      <name>ONAP Snapshot Repository</name>
-      <url>https://nexus.onap.org/content/repositories/snapshots/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
   <profiles>
     <profile>
       <id>generate-json</id>