summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-11-25 13:29:43 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-11-25 13:29:43 +0000
commit5532135d9717da7021eece4df741edd0ea1a33d5 (patch)
tree69f1115639bc645416ab57eba2f3caacb44ae67b
parent02741e549fbc54bbe51387b90d1a265281e151ac (diff)
Move git-commit-id-maven-plugin to parent pom
The POM config for git-commit-id-maven-plugin is duplicated in each repo, so the config is moved to policy/parent Issue-ID: POLICY-4466 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2ac1d2665f54fbf4ac2eaa21ef8a7158452dbd8a
-rw-r--r--integration/pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/integration/pom.xml b/integration/pom.xml
index d110aac4..806e01ae 100644
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -1238,6 +1238,29 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${version.springboot}</version>
</plugin>
+ <plugin>
+ <groupId>io.github.git-commit-id</groupId>
+ <artifactId>git-commit-id-maven-plugin</artifactId>
+ <version>5.0.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <skipPoms>false</skipPoms>
+ <generateGitPropertiesFile>false</generateGitPropertiesFile>
+ <includeOnlyProperties>
+ <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
+ </includeOnlyProperties>
+ <commitIdGenerationMode>full</commitIdGenerationMode>
+ <dateFormat>yyyy-MM-dd'T'HH:mm:ss.SSS'Z'</dateFormat>
+ <dateFormatTimeZone>UTC</dateFormatTimeZone>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>