From a88d786d7d9350b15dae47d8603e22748d8cdee1 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Tue, 4 Jun 2024 21:08:49 +0200 Subject: [PATCH] [SUREFIRE-2047] Upgrade to maven-common-artifact-filters 3.4.0 This closes #742 --- .../surefire/util/DependenciesScannerTest.java | 2 +- pom.xml | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/util/DependenciesScannerTest.java b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/util/DependenciesScannerTest.java index e392d8c027..2c6f6c26e9 100644 --- a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/util/DependenciesScannerTest.java +++ b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/util/DependenciesScannerTest.java @@ -106,7 +106,7 @@ public void testLocateTestClassesFromArtifactWithClassifier() throws Exception { testArtifact.setFile(testJarFile); List scanDependencies = new ArrayList<>(); - scanDependencies.add("org.surefire.dependency:dependent-artifact2:*:*:tests-jdk15"); + scanDependencies.add("org.surefire.dependency:dependent-artifact2:*:tests-jdk15:*"); List include = new ArrayList<>(); include.add("**/*A.java"); diff --git a/pom.xml b/pom.xml index 8f08f20279..c19b0d33b3 100644 --- a/pom.xml +++ b/pom.xml @@ -185,24 +185,9 @@ - org.apache.maven.shared maven-common-artifact-filters - 3.1.1 - - - org.apache.maven.shared - maven-shared-utils - - - org.apache.maven - maven-model - - - org.sonatype.sisu - sisu-inject-plexus - - + 3.4.0 org.apache.maven.plugin-testing