From 59205b86e8ec23192196ae1654c471cf6a04498c Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 11 Sep 2025 14:31:48 +0200 Subject: [PATCH] HV-2138 Include license file in the META-INF of published artifacts Signed-off-by: marko-bekhta (cherry picked from commit 51b40d2175a77a80ac64cfae0ee1e63c00bca329) --- cdi/pom.xml | 5 ----- engine/pom.xml | 11 ++++++++++- pom.xml | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/cdi/pom.xml b/cdi/pom.xml index b23a571f1..ac22075cf 100644 --- a/cdi/pom.xml +++ b/cdi/pom.xml @@ -166,11 +166,6 @@ test - - - src/main/resources - - true diff --git a/engine/pom.xml b/engine/pom.xml index af4c716f9..9e978a623 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -197,7 +197,16 @@ test - src/main/resources + + ${project.basedir}/src/main/resources + + + + ${rootProject.directory} + + license.txt + + META-INF src/main/xsd diff --git a/pom.xml b/pom.xml index 2a5b2c8b8..94ea5742c 100644 --- a/pom.xml +++ b/pom.xml @@ -664,6 +664,20 @@ + + + + ${project.basedir}/src/main/resources + + + + ${rootProject.directory} + + license.txt + + META-INF + + maven-enforcer-plugin