aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-12 16:29:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 14:07:56 +0530
commit2977f4f121a8527d97cb663482eb5134f67f921a (patch)
tree1a90241986923dc55d5735e2b7a6961deac3429f /pom.xml
parent7ed4d73221126eeb6d02f8f577123c8362b0afd7 (diff)
Add build time to jar
Issue-Id: CLI-66 Change-Id: I45f524e3e4f0f111fd411f3d9577edb5e3c0d0ed Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 18241f91..15d30920 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<package.name>cli</package.name>
+ <maven.build.timestamp.format>yyyy-MM-dd HH:mm z</maven.build.timestamp.format>
</properties>
<modules>
@@ -71,6 +72,9 @@
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
+ <manifestEntries>
+ <Build-Time>${maven.build.timestamp}</Build-Time>
+ </manifestEntries>
</archive>
</configuration>
</plugin>