aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-07-21 04:56:16 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2019-07-21 04:56:22 +0000
commitae9e6686a97bfcefb429fefbe998a49af5fbc71c (patch)
tree92a0dbfebae817d1926f89d93ae12459d4d22041
parent6c81c97b5cdd24fddee624fb5022a5d41e6313e5 (diff)
remove docker binding from mvn
Change-Id: Ia0a665cb9d4f4dd75ac674d5ff1ff12044d52d45 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1578
-rw-r--r--pom.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 602bece..14f8dff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -210,9 +210,11 @@
<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>java:openjdk-8</baseImage>
<user>sonhms</user>
@@ -230,7 +232,7 @@
</resources>
<runs>
<!-- Maven is loosing file permissions during artifacts copy -->
- <run>adduser --disabled-password sonhms </run>
+ <run>adduser --disabled-password sonhms </run>
<run>chmod +x /bin/entrypoint.sh</run>
<run>mv /bin/*.jar /bin/application.jar</run>
<run>chmod -R 777 /bin</run>
@@ -240,6 +242,7 @@
</exposes>
<entryPoint>/bin/entrypoint.sh</entryPoint>
</configuration>
+<!--
<executions>
<execution>
<id>build-image</id>
@@ -285,6 +288,7 @@
</configuration>
</execution>
</executions>
+-->
</plugin>
</plugins>
</build>