Make updates to pom to work with oparent and jjb 17/12517/2
authorMichael Hwang <mhwang@research.att.com>
Thu, 14 Sep 2017 18:42:52 +0000 (14:42 -0400)
committerMichael Hwang <mhwang@research.att.com>
Thu, 14 Sep 2017 18:46:44 +0000 (14:46 -0400)
Change-Id: Id8dc78bde28861a6dd548a20840d638ad00c1ac9
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 82717d2..ea210d5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,8 +1,14 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>org.openecomp.dcae</groupId>
-    <artifactId>dcae-inventory</artifactId>
+    <parent>
+        <groupId>org.onap.oparent</groupId>
+        <artifactId>oparent</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.onap.dcaegen2.platform</groupId>
+    <artifactId>inventory-api</artifactId>
     <version>1.2.0</version>
     <!--internal <version>2.4.0</version>-->
 
@@ -15,7 +21,6 @@
         <ecomp.organizationName>AT&amp;T Intellectual Property. All rights reserved.</ecomp.organizationName>
 
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
-        <docker.registry>nexus3.onap.org:10003</docker.registry>
         <nexusproxy>https://nexus.onap.org</nexusproxy>
         <snapshots.path>content/repositories/snapshots/</snapshots.path>
         <releases.path>content/repositories/releases/</releases.path>
                         </goals>
                         <configuration>
                             <image>${project.artifactId}</image>
-                            <newName>${docker.registry}/openecomp/${project.artifactId}:${project.version}-${maven.build.timestamp}</newName>
-                            <!--serverId>${docker.registry}</serverId-->
+                            <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:${project.version}-${maven.build.timestamp}</newName>
                             <pushImage>false</pushImage>
                         </configuration>
                     </execution>
                         </goals>
                         <configuration>
                             <image>${project.artifactId}</image>
-                            <newName>${docker.registry}/openecomp/${project.artifactId}:LATEST</newName>
-                            <!--serverId>${docker.registry}</serverId-->
+                            <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:LATEST</newName>
                             <pushImage>false</pushImage>
                         </configuration>
                     </execution>