X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=packages%2Fpolicy-api-docker%2Fpom.xml;h=e9272165764c0a286032c3c70c3fcaa33daf598c;hb=137baac91559b9f17046e8c6a288692013988922;hp=9bc438d9b00df4547936511bd5b28b103449f58d;hpb=be1caa4907e14c8572e9a78b2a959d50e31a117b;p=policy%2Fapi.git diff --git a/packages/policy-api-docker/pom.xml b/packages/policy-api-docker/pom.xml index 9bc438d9..e9272165 100644 --- a/packages/policy-api-docker/pom.xml +++ b/packages/policy-api-docker/pom.xml @@ -2,6 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2019,2021 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020-2022 Bell Canada. + Modifications Copyright (C) 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. @@ -27,7 +28,7 @@ org.onap.policy.api api-packages - 2.7.0-SNAPSHOT + 2.7.1 pom @@ -42,6 +43,7 @@ false false false + ${project.basedir}/src/main/docker yyyyMMdd'T'HHmm @@ -65,6 +67,30 @@ + + io.github.git-commit-id + git-commit-id-maven-plugin + 5.0.0 + + + get-the-git-infos + + revision + + initialize + + + + false + true + + ^git.build.(time|version)$ + ^git.commit.id.abbrev$ + + full + + + io.fabric8 docker-maven-plugin @@ -80,7 +106,8 @@ onap/policy-api try - Dockerfile + ${dockerFile} + ${docker.contextDir} ${project.version} ${project.version}-${maven.build.timestamp} @@ -163,4 +190,4 @@ tar.gz - \ No newline at end of file +