aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng
diff options
context:
space:
mode:
authorbt2983 <bt2983@att.com>2018-09-23 16:39:54 -0600
committerbt2983 <bt2983@att.com>2018-09-23 16:39:54 -0600
commitad92a27cf76ff74034e28fe09df1db3762b22c30 (patch)
tree41b27dce71cb1378045f2f88fd671596a0bd129a /ms/neng
parent84cd8c43fa95f08ce98d498a145b9fcb2552f3ce (diff)
naming ms - pom updates for docker.
Updates to pom.xml to fix the docker build issues. Set the right phase for copy, and adding additional tags to image. Change-Id: I31726bfc6183bf2ccc2485d752093a8bb62a4703 Issue-ID: CCSDK-588 Signed-off-by: bt2983 <bt2983@att.com>
Diffstat (limited to 'ms/neng')
-rw-r--r--ms/neng/pom.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index 81c1e668..780bb07b 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -59,6 +59,8 @@
<docker.verbose>true</docker.verbose>
<ccsdk.project.version>${project.version}</ccsdk.project.version>
<image.name>onap/ccsdk-apps-ms-neng</image.name>
+ <timestamp>${maven.build.timestamp}</timestamp>
+ <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
</properties>
<profiles>
@@ -147,7 +149,7 @@
<goals>
<goal>copy-resources</goal>
</goals>
- <phase>validate</phase>
+ <phase>package</phase>
<configuration>
<outputDirectory>${basedir}/target/docker-stage</outputDirectory>
<resources>
@@ -199,6 +201,7 @@
<tags>
<tag>${project.version}</tag>
<tag>${project.docker.latesttag.version}</tag>
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
</tags>
</build>
</image>
@@ -634,4 +637,5 @@
</plugins>
</pluginManagement>
</build>
-</project> \ No newline at end of file
+</project>
+