aboutsummaryrefslogtreecommitdiffstats
path: root/cps-parent/pom.xml
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-10-29 18:01:09 +0000
committerGerrit Code Review <gerrit@onap.org>2024-10-29 18:01:09 +0000
commit0e39cb260532a11bb8fea755ed775f0623fb8101 (patch)
tree07d61ce3f54f4bc71699174c47ca75ce6e10faa0 /cps-parent/pom.xml
parentf120f1bc23569319adaaad9b8e73cf35a16759c4 (diff)
parentff99139d82e9911e485f228bcd93e0d9b4d6a74b (diff)
Merge "Add metadata related to builds and commits"
Diffstat (limited to 'cps-parent/pom.xml')
-rw-r--r--cps-parent/pom.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index f97a40b223..a83278d6cd 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -122,13 +122,26 @@
<executions>
<execution>
<goals>
- <goal>build-info</goal>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
+ <groupId>io.github.git-commit-id</groupId>
+ <artifactId>git-commit-id-maven-plugin</artifactId>
+ <version>9.0.0</version>
+ <executions>
+ <execution>
+ <id>get-git-info</id>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>