Remove docker binding from mvn 45/92145/1
authorVijay Venkatesh Kumar <vv770d@att.com>
Sat, 20 Jul 2019 05:27:46 +0000 (05:27 +0000)
committerVijay Venkatesh Kumar <vv770d@att.com>
Sat, 20 Jul 2019 05:30:02 +0000 (05:30 +0000)
Change-Id: I0f64f8a86682a01614848ae83d49d7025af40b95
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1690
Issue-ID: DCAEGEN2-1578
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index de3aa04..61dddb9 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <artifactId>docker-maven-plugin</artifactId>\r
                                <configuration>\r
                                        <serverId>${onap.nexus.dockerregistry.daily}</serverId>\r
-                                       <imageName>${docker.image.name}</imageName>\r
+                                       <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>\r
                                        <imageTags>\r
-                                               <tag>latest</tag>\r
+                                               <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>\r
+                                                <imageTag>${project.version}</imageTag>\r
+                                                <imageTag>latest</imageTag>\r
                                        </imageTags>\r
                                        <baseImage>openjdk:8-jre-slim</baseImage>\r
                                        <env>\r
                                        </exposes>\r
                                        <cmd>bin/docker-entry.sh</cmd>\r
                                </configuration>\r
-                               <executions>\r
+                               <!--<executions>\r
                                        <execution>\r
                                                <id>build-image</id>\r
                                                <phase>package</phase>\r
                                                <goals>\r
-                                                       <goal>build</goal>\r
+                                                       <goal>deploy</goal>\r
                                                </goals>\r
                                        </execution>\r
                                        <execution>\r
                                                        <pushImage>true</pushImage>\r
                                                </configuration>\r
                                        </execution>\r
-                               </executions>\r
+                               </executions> -->\r
                        </plugin>\r
                </plugins>\r
        </build>\r