From 0bb081c6dd71e6ff541dc97b81a568fda7f2df32 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Sun, 21 Mar 2021 20:43:03 -0400 Subject: [PATCH] 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 ++++++++++++++++++++++++++---- pom.xml | 3 ++- 2 files changed, 28 insertions(+), 5 deletions(-) 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} diff --git a/pom.xml b/pom.xml index 5bd74ab6..8be61a7c 100644 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,7 @@ ${maven.build.timestamp} ${maven.build.timestamp} + false false true @@ -49,7 +50,7 @@ - + org.apache.maven.plugins maven-enforcer-plugin -- 2.16.6