summaryrefslogtreecommitdiffstats
path: root/springboot/springboot2
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2020-09-04 10:34:58 -0400
committerSingal, Kapil (ks220y) <ks220y@att.com>2020-09-04 10:37:56 -0400
commitda2d976b866b2b32fdfc1d6fae9a5b118339fcb9 (patch)
tree64776783306e5ef6993f8c0697270655353e7014 /springboot/springboot2
parentf3009d8c722203619d14cf9205f82a2898f3aa6f (diff)
Overriding git-commit-id-plugin
Issue-ID: CCSDK-2734 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I57964c912f17bf0c7dfe060a469affbf82486d35
Diffstat (limited to 'springboot/springboot2')
-rw-r--r--springboot/springboot2/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml
index b604cf00..8b21e8f7 100644
--- a/springboot/springboot2/pom.xml
+++ b/springboot/springboot2/pom.xml
@@ -662,6 +662,18 @@
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</plugin>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <version>4.0.0</version>
+ <configuration>
+ <commitIdGenerationMode>full</commitIdGenerationMode>
+ <includeOnlyProperties>
+ <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
+ </includeOnlyProperties>
+ </configuration>
+ </plugin>
</plugins>
</build>