aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-07-20 05:27:46 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2019-07-20 05:30:02 +0000
commite285a32501bf460fe051d9b5717b9fdb737ad609 (patch)
tree022a720bdfdfabfc13fb7e9e3c04bea21ee142c1
parentb72fbc5396a9295e614091e56abff6bb32eadc14 (diff)
Remove docker binding from mvn
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>
-rw-r--r--pom.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index de3aa04c..61dddb9b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,9 +142,11 @@
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<serverId>${onap.nexus.dockerregistry.daily}</serverId>
- <imageName>${docker.image.name}</imageName>
+ <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
<imageTags>
- <tag>latest</tag>
+ <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
+ <imageTag>${project.version}</imageTag>
+ <imageTag>latest</imageTag>
</imageTags>
<baseImage>openjdk:8-jre-slim</baseImage>
<env>
@@ -168,12 +170,12 @@
</exposes>
<cmd>bin/docker-entry.sh</cmd>
</configuration>
- <executions>
+ <!--<executions>
<execution>
<id>build-image</id>
<phase>package</phase>
<goals>
- <goal>build</goal>
+ <goal>deploy</goal>
</goals>
</execution>
<execution>
@@ -212,7 +214,7 @@
<pushImage>true</pushImage>
</configuration>
</execution>
- </executions>
+ </executions> -->
</plugin>
</plugins>
</build>