aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/pom.xml
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-06-28 16:04:58 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-06-28 16:04:58 +0100
commit0a6092569b7702ba6c6ee6e5e23cdd2e47faa1d4 (patch)
tree88fdd9599fb105fed02c48044e0f857ab9001de7 /runtime/pom.xml
parenta49eb94567481ccdaa41bacbc9522da247ba4f59 (diff)
OCI image spec labels for clamp backend
Issue-ID: POLICY-4259 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic99842c14f26af5c58ff7000c13a1a5d19077869
Diffstat (limited to 'runtime/pom.xml')
-rw-r--r--runtime/pom.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/runtime/pom.xml b/runtime/pom.xml
index 7e3d7b261..606d1beef 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -4,7 +4,7 @@
ONAP POLICY-CLAMP
================================================================================
Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved.
- Modifications Copyright (C) 2021 Nordix Foundation.
+ Modifications Copyright (C) 2021-2022 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -650,6 +650,31 @@
</execution>
</executions>
</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>