From 3fabe540a5a825139a31f233f6e989f16206f87e Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Tue, 21 Jun 2022 22:27:06 +0200 Subject: [PATCH] Fix test-distribution classpath re resolver (#8187) * Fix test-distribution classpath re resolver As currently it seems mixed versions of resolver artifacts are present on classpath. Resolver 1.8.0 introduces a binary breakage. Anyway, this fixes the thing, as impl was actually coming in as transitive dep of maven-resolver-provider, that is NOT the same version as the rest of resolver dependencies. Relying on transitive while fixing other versions is wrong. * Update to resolver 1.8.1 And add exclusion to banned dependency, that is used when running in SISU container. --- pom.xml | 2 +- tests/test-distribution/pom.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1e809f39c1d0..75f78ff72c4a 100644 --- a/pom.xml +++ b/pom.xml @@ -107,7 +107,7 @@ 3.0.5 10.3.6 0.13.1 - 1.8.0 + 1.8.1 3.8.4 3.12.11 0.9.1 diff --git a/tests/test-distribution/pom.xml b/tests/test-distribution/pom.xml index 9a9e6608d409..1625433f9cb0 100644 --- a/tests/test-distribution/pom.xml +++ b/tests/test-distribution/pom.xml @@ -48,6 +48,18 @@ maven-resolver-spi ${maven.resolver.version} + + org.apache.maven.resolver + maven-resolver-impl + ${maven.resolver.version} + + + + javax.annotation + javax.annotation-api + + + org.apache.maven.resolver maven-resolver-connector-basic