Try to use the hidden settings.xml for Docker push 49/13549/1
authorMichael Hwang <mhwang@research.att.com>
Tue, 19 Sep 2017 17:56:52 +0000 (13:56 -0400)
committerMichael Hwang <mhwang@research.att.com>
Tue, 19 Sep 2017 17:57:41 +0000 (13:57 -0400)
The Docker authentication info is in the settings.xml

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

diff --git a/pom.xml b/pom.xml
index 95ad30d..b68f6d8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <plugin>
                 <groupId>com.spotify</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
-                <version>0.4.11</version>
+                <version>1.0.0</version>
                 <configuration>
                     <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName>
                     <baseImage>openjdk:8-jre</baseImage>
                         <imageTag>${project.version}-${maven.build.timestamp}</imageTag>
                         <imageTag>latest</imageTag>
                     </imageTags>
+                    <serverId>${onap.nexus.dockerregistry.daily}</serverId>
                 </configuration>
             </plugin>