Change deploy goal to push Docker image 23/12523/1
authorMichael Hwang <mhwang@research.att.com>
Thu, 14 Sep 2017 19:10:24 +0000 (15:10 -0400)
committerMichael Hwang <mhwang@research.att.com>
Thu, 14 Sep 2017 19:11:12 +0000 (15:11 -0400)
Also remove distribution section which is now in oparent

Change-Id: I0573672c11fa6eaf7f7d974e7d6c21759bac1cb3
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index ea210d5..b760888 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                         <configuration>
                             <image>${project.artifactId}</image>
                             <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:${project.version}-${maven.build.timestamp}</newName>
-                            <pushImage>false</pushImage>
+                            <pushImage>true</pushImage>
                         </configuration>
                     </execution>
                     <execution>
                         <configuration>
                             <image>${project.artifactId}</image>
                             <newName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}:LATEST</newName>
-                            <pushImage>false</pushImage>
+                            <pushImage>true</pushImage>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
         </plugins>
     </reporting>
-
-    <distributionManagement>
-        <repository>
-            <id>ecomp-releases</id>
-            <name>Open eCOMP Release Repository</name>
-            <url>${nexusproxy}/${releases.path}</url>
-        </repository>
-        <snapshotRepository>
-            <id>ecomp-snapshots</id>
-            <name>Open eCOMP Snapshot Repository</name>
-            <url>${nexusproxy}/${snapshots.path}</url>
-        </snapshotRepository>
-        <site>
-            <id>ecomp-site</id>
-            <url>dav:${nexusproxy}/${site.path}</url>
-        </site>
-    </distributionManagement>
 </project>