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