aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-docker/pom.xml
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-06-28 16:55:46 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-06-28 16:55:46 +0100
commit54c12ddf361bb2e44d4bd288caa987799ac282a1 (patch)
tree106fc38ae0a18f1af7f1c5f9cb3ba239a6dd8baf /packages/policy-clamp-docker/pom.xml
parenta49eb94567481ccdaa41bacbc9522da247ba4f59 (diff)
OCI image spec labels for ACM and participants
Issue-ID: POLICY-4259 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0624ddedb71083956d173d35827543ef4d65f58a
Diffstat (limited to 'packages/policy-clamp-docker/pom.xml')
-rw-r--r--packages/policy-clamp-docker/pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/policy-clamp-docker/pom.xml b/packages/policy-clamp-docker/pom.xml
index 10747ff87..d75db6e98 100644
--- a/packages/policy-clamp-docker/pom.xml
+++ b/packages/policy-clamp-docker/pom.xml
@@ -81,6 +81,30 @@
</plugin>
<plugin>
+ <groupId>io.github.git-commit-id</groupId>
+ <artifactId>git-commit-id-maven-plugin</artifactId>
+ <version>5.0.0</version>
+ <executions>
+ <execution>
+ <id>get-the-git-infos</id>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ <phase>initialize</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <skipPoms>false</skipPoms>
+ <generateGitPropertiesFile>true</generateGitPropertiesFile>
+ <includeOnlyProperties>
+ <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
+ <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
+ </includeOnlyProperties>
+ <commitIdGenerationMode>full</commitIdGenerationMode>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>