From c8412c82fe249d9ef556a57a2235f3d733b569b7 Mon Sep 17 00:00:00 2001
From: slfan1989 <55643692+slfan1989@users.noreply.github.com>
Date: Fri, 23 Feb 2024 14:18:56 +0800
Subject: [PATCH] =?UTF-8?q?Revert=20"HADOOP-19071.=20Update=20maven-surefi?=
=?UTF-8?q?re-plugin=20from=203.0.0=20to=203.2.5.=20(#653=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit 555faf28ce365443c17767adf0d6d570cef32ee3.
---
dev-support/bin/hadoop.sh | 3 +--
hadoop-project/pom.xml | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev-support/bin/hadoop.sh b/dev-support/bin/hadoop.sh
index c60603334febbd..fd9363e66bbd7f 100755
--- a/dev-support/bin/hadoop.sh
+++ b/dev-support/bin/hadoop.sh
@@ -577,7 +577,6 @@ function shadedclient_rebuild
extra=(
"-Dtest=NoUnitTests"
- "-Dsurefire.failIfNoSpecifiedTests=false"
"-Dmaven.javadoc.skip=true"
"-Dcheckstyle.skip=true"
"-Dspotbugs.skip=true"
@@ -615,7 +614,7 @@ function shadedclient_rebuild
echo_and_redirect "${logfile}" \
"${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \
"${modules[@]}" \
- -DskipShade -Dtest=NoUnitTests -Dsurefire.failIfNoSpecifiedTests=false -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
+ -DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
-Dspotbugs.skip=true ${extra[*]}
count=$("${GREP}" -c '\[ERROR\]' "${logfile}")
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index a344b562b9519c..3086e749699814 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -169,7 +169,7 @@
-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError
- 3.2.5
+ 3.0.0-M1
${maven-surefire-plugin.version}
${maven-surefire-plugin.version}