From 62f733818176df7d9ce48a3086a46c70de187329 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 9 Jul 2019 14:11:57 +0200 Subject: [PATCH] #840 - Conditionally deploy schema files. Do not fail if the project has no schema files. --- parent/pom.xml | 66 +++++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 513e3bfa..44a53ef9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -750,6 +750,7 @@ @@ -763,8 +764,10 @@ - - + + @@ -775,6 +778,39 @@ + + check-schema-files + prepare-package + + + + + true + + + run + + + + zip-schema-files + prepare-package + + + + + + + + run + + + @@ -789,30 +825,6 @@ - - - org.apache.maven.plugins - maven-assembly-plugin - - - schema - - single - - package - - - ${shared.resources}/assemblies/schema.xml - - ${dist.id} - true - - - - - @@ -832,7 +844,7 @@ ${dist.id} ${dist.id} - true + false schema