From cc81ea6d9a5d7d2d15cb7f74a3be792095020909 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 bd0c6e42..e407ca2a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -678,6 +678,7 @@ @@ -691,8 +692,10 @@ - - + + @@ -703,6 +706,39 @@ + + check-schema-files + prepare-package + + + + + true + + + run + + + + zip-schema-files + prepare-package + + + + + + + + run + + + @@ -717,30 +753,6 @@ - - - org.apache.maven.plugins - maven-assembly-plugin - - - schema - - single - - package - - - ${shared.resources}/assemblies/schema.xml - - ${dist.id} - true - - - - - @@ -760,7 +772,7 @@ ${dist.id} ${dist.id} - true + false schema