From 45613ffdf0de0794267bf8eb4ecb86c6b813eff1 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Thu, 16 Aug 2018 08:09:27 +0200 Subject: Align with release docker & JARs CI definitions If not explocitly called with -DskipDockerPush=false Maven will not push docker images to the registry. The change is introduced in order for '{project-name}-{stream}-docker-java-shell-daily' to do the push but all other Jenkins jobs should skip this step. Also set hv-collector-analysis version to 1.0.0-SNAPSHOT as it's not a child of root pom (it contains only custom definitions needed for detekt plugin to work). Change-Id: Icc4a1d6cc1a763fad417860b45ffdad30524f67b Issue-ID: DCAEGEN2-661 Signed-off-by: Piotr Jaszczyk --- pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 7504d4f2..127e4bd6 100644 --- a/pom.xml +++ b/pom.xml @@ -82,6 +82,7 @@ false + true yyyyMMdd'T'HHmmss ${onap.nexus.dockerregistry.daily} onap @@ -89,7 +90,6 @@ - ${project.basedir}/src/main/kotlin ${project.basedir}/src/test/kotlin @@ -338,7 +338,7 @@ ${project.groupId} hv-collector-analysis - ${project.version} + 1.0.0-SNAPSHOT @@ -420,6 +420,7 @@ + ${skipDockerPush} true IfNotPresent -- cgit 1.2.3-korg