From e12e53a34238770001e634f2f2d2dee5bef8e6c2 Mon Sep 17 00:00:00 2001 From: Steve Vaughan Jr Date: Tue, 23 Aug 2022 15:15:05 -0400 Subject: [PATCH] HADOOP-18417. Upgrade to M7 of surefire plugin This addresses an issue where the plugin's default classpath for executing tests fails to include org.junit.platform.launcher.core.LauncherFactory. It adds failIfNoSpecifiedTests defaulted to false, as it is breaking the shaded client build and we are a multi module project, if you run "mvn clean test -Dtest=TestDistributedFileSystem" this is expected to work --- hadoop-project/pom.xml | 3 ++- pom.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 6649fa574007e..72ef3884c8a5e 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -167,7 +167,7 @@ -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError - 3.0.0-M1 + 3.0.0-M7 ${maven-surefire-plugin.version} ${maven-surefire-plugin.version} @@ -2234,6 +2234,7 @@ org.apache.maven.plugins maven-surefire-plugin + false false ${surefire.fork.timeout} ${maven-surefire-plugin.argLine} diff --git a/pom.xml b/pom.xml index fca42f71630df..82c5097a5e873 100644 --- a/pom.xml +++ b/pom.xml @@ -116,6 +116,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x 7.1.1 4.2.2 4.2.0 + false 1.1.1 3.10.1