From 094c1e43f0a395a7d5e9887be0d0028c7627b4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20S=C3=A1nchez-Mariscal?= Date: Mon, 29 Jul 2024 18:32:07 +0200 Subject: [PATCH] Configure Failsafe to use the exploded classes directory By default, Failsafe uses the packaged JAR of the application under test + all its transitive dependencies. If the project also uses the Shade plugin (which we enable here by default, for the moment), this results in duplicate beans loaded. Whether using shading or not, there is no advantage in using the packaged JAR, so this PR configures Failsafe to use the exploded classes directory. --- parent/src/pom-template.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parent/src/pom-template.xml b/parent/src/pom-template.xml index 3648c010..eb51fb32 100644 --- a/parent/src/pom-template.xml +++ b/parent/src/pom-template.xml @@ -211,6 +211,9 @@ + + ${project.build.outputDirectory} + org.apache.maven.plugins