From 5c5928c5b75b17bf7aba46c99e8dadc2381736df Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 13 Nov 2026 08:20:31 +0000 Subject: [PATCH] Exclude junit-jupiter from maven-it-plugin-project-interpolation's dep on maven-it-helper junit-jupiter is a compile-scope dep of maven-it-helper but it is not needed at runtime by the plugin itself. Without the exclusion the IT local repo (which is isolated from central by a file:target/null mirror) cannot resolve junit-jupiter:5.8.0 when Maven loads the plugin during forked IT executions, causing: Could not find artifact org.junit.jupiter:junit-jupiter:jar:5.8.0 in central (file:target/null) The existing exclusions already strip maven-artifact, maven-verifier and junit (JUnit 4). This adds the matching JUnit 5 exclusion. --- .../maven-it-plugin-project-interpolation/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml b/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml index 32a6a516d..adf9e3942 100644 --- a/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml +++ b/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml @@ -66,6 +66,10 @@ under the License. junit junit + + org.junit.jupiter + junit-jupiter +