From 0bb081c6dd71e6ff541dc97b81a568fda7f2df32 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Sun, 21 Mar 2021 20:43:03 -0400 Subject: Refactoring docker POM Relacing maven-exec-plugin with maven-antrun-plugin to make it platform independent and now maven build can be run on Windows system Adding docker.skip.run property with default value as false which can be set to true withih maven build arguments to skip image start Issue-ID: CCSDK-3226 Signed-off-by: Singal, Kapil (ks220y) Change-Id: I0009bdaf0754381c831098c493de047f80b56d65 --- odlsli/odlsli-alpine/pom.xml | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'odlsli') diff --git a/odlsli/odlsli-alpine/pom.xml b/odlsli/odlsli-alpine/pom.xml index 79bd6438..aff94dd8 100644 --- a/odlsli/odlsli-alpine/pom.xml +++ b/odlsli/odlsli-alpine/pom.xml @@ -33,16 +33,16 @@ opt/opendaylight 93C4A3FD7BB9C367 - odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs, odl-daexim-all, odl-restconf-nb-rfc8040 + odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs,odl-daexim-all,odl-restconf-nb-rfc8040 ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all ${odl.features.extra},${ccsdk.odl.features} - 1.1.1 - 1.2.0 + 1.1.1 + 1.2.0 1.2.0 1.2.0 - 1.2.0 + 1.2.0 1.1.1 true @@ -508,6 +508,26 @@ + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + change shell permissions + process-sources + + + + + + + run + + + + + org.apache.maven.plugins maven-failsafe-plugin @@ -605,6 +626,7 @@ ${docker.verbose} + ${docker.skip.run} ${docker.skip.push} -- cgit 1.2.3-korg