From bc28270f55a890d38345e8fa426b598315ed5d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Mu=C3=B1oz?= Date: Tue, 26 Nov 2024 17:14:45 +0100 Subject: [PATCH] [Fix #3782] Properly resolving root dir in all CI environments (#3783) (#82) * [Fix #3782] Properly resolving root dir in all CI environments * Update kogito-build/kogito-build-no-bom-parent/pom.xml * Use relative path for resources * Change phase to validate * [Fix #3782] Using relative path --------- Co-authored-by: Francisco Javier Tirado Sarti <65240126+fjtirado@users.noreply.github.com> --- .../kogito-build-no-bom-parent/pom.xml | 22 ++++++++++++++++++- .../pom.xml | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml b/kogito-build/kogito-build-no-bom-parent/pom.xml index 9b5f70cc27a..f64f018012f 100644 --- a/kogito-build/kogito-build-no-bom-parent/pom.xml +++ b/kogito-build/kogito-build-no-bom-parent/pom.xml @@ -87,7 +87,6 @@ possible to measure cross-module test coverage --> ${project.root.dir}/target/jacoco.exec - ${maven.multiModuleProjectDirectory} org.jboss.logmanager.LogManager **/*Test.java **/*IT.java @@ -671,10 +670,31 @@ true + + org.commonjava.maven.plugins + directory-maven-plugin + 1.0 + + + directories + + highest-basedir + + validate + + project.root.dir + + + + + + org.commonjava.maven.plugins + directory-maven-plugin + net.revelc.code.formatter formatter-maven-plugin diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml index 3e713938438..127c1210088 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test/pom.xml @@ -87,7 +87,7 @@ src/main/resources - ${project.root.dir}/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/src/main/resources + ../kogito-quarkus-serverless-workflow-integration-test/src/main/resources expression.sw.json schema/expressionInput.json