From 766de31465bb0db62eb6692723ff8d0ee707da33 Mon Sep 17 00:00:00 2001 From: Niranjana Date: Tue, 26 Apr 2022 05:32:12 +0000 Subject: Add configurations to build and push snapshot image to nexus repository Issue-ID: CPS-978 Signed-off-by: Niranjana Change-Id: I5233b05856b50ad540bb0922a821e845f119ad6a --- cps-tbdmt-parent/pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'cps-tbdmt-parent/pom.xml') diff --git a/cps-tbdmt-parent/pom.xml b/cps-tbdmt-parent/pom.xml index f50e4a8..2466a81 100644 --- a/cps-tbdmt-parent/pom.xml +++ b/cps-tbdmt-parent/pom.xml @@ -16,6 +16,12 @@ pom + org.onap.cps.tbdmt.Application + nexus3.onap.org:10001/ + nexus3.onap.org:10003/ + ${docker.repository.pull}onap/integration-java11:8.0.0 + ${docker.repository.push}onap/cps-tbdmt + yyyyMMdd'T'HHmmss'Z' 1.0.0 11 0.9 @@ -330,6 +336,42 @@ + + com.google.cloud.tools + jib-maven-plugin + 3.0.0 + + + ${app} + USE_CURRENT_TIMESTAMP + + + ${image.base} + + + + latest + + ${image.name}:${project.version}-${maven.build.timestamp} + + + + + package + build + + dockerBuild + + + + deploy + buildAndPush + + build + + + + com.github.spotbugs spotbugs-maven-plugin -- cgit 1.2.3-korg