summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index 6f54741..2b59034 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,13 +20,13 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.dcaegen2.services</groupId>
<artifactId>pm-mapper</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<parent>
<groupId>org.onap.oparent</groupId>
@@ -62,6 +62,8 @@
<surefire.version>2.22.0</surefire.version>
<!-- Plugin Settings -->
<image-name>${docker.push.registry}/onap/${project.groupId}.${project.artifactId}</image-name>
+ <maven.build.timestamp.format>yyyymmdd'T'hhmmss'Z'</maven.build.timestamp.format>
+ <timestamp>${maven.build.timestamp}</timestamp>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
@@ -194,7 +196,7 @@
<version>${dockerfile.version}</version>
<configuration>
<repository>${image-name}</repository>
- <tag>${project.version}</tag>
+ <tag>${project.version}-${timestamp}</tag>
<dockerfile>${project.build.outputDirectory}/Dockerfile</dockerfile>
<buildArgs>
<JAR>${project.build.finalName}-jar-with-dependencies.jar</JAR>
@@ -228,7 +230,7 @@
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<transformers>
<transformer
- implementation="${shade.transformer}">
+ implementation="${shade.transformer}">
<mainClass>${shade.main}</mainClass>
</transformer>
</transformers>