aboutsummaryrefslogtreecommitdiffstats
path: root/ms/pom.xml
diff options
context:
space:
mode:
authorebo <eliezio.oliveira@est.tech>2020-03-07 13:46:41 +0000
committerebo <eliezio.oliveira@est.tech>2020-03-11 21:14:05 +0000
commit949fed2a716fa636aec836ec46fec2c595f68d4f (patch)
tree1727d7d603131552b6b4d9f6af1917898c0c85b7 /ms/pom.xml
parent91b3a6477c4d5136bea02d3c1284a51b2f2ec1b1 (diff)
Enable generation and exposure of git information
Initially only the blueprintprocessor MS will expose these info. Issue-ID: CCSDK-2165 Change-Id: Id0b994e62a2992942ec1def40566a03615c9df3c Signed-off-by: ebo <eliezio.oliveira@est.tech>
Diffstat (limited to 'ms/pom.xml')
-rw-r--r--ms/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ms/pom.xml b/ms/pom.xml
index 9386150bf..7a0168f5b 100644
--- a/ms/pom.xml
+++ b/ms/pom.xml
@@ -38,4 +38,23 @@
<module>command-executor</module>
<module>sdclistener</module>
</modules>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <version>4.0.0</version>
+ <configuration>
+ <includeOnlyProperties>
+ <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
+ </includeOnlyProperties>
+ <commitIdGenerationMode>full</commitIdGenerationMode>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>