From 555faf28ce365443c17767adf0d6d570cef32ee3 Mon Sep 17 00:00:00 2001 From: slfan1989 <55643692+slfan1989@users.noreply.github.com> Date: Sun, 11 Feb 2024 07:41:46 +0800 Subject: [PATCH] HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#6537) Contributed by Shilun Fan Reviewed-by: Steve Loughran Signed-off-by: Shilun Fan --- dev-support/bin/hadoop.sh | 3 ++- hadoop-project/pom.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-support/bin/hadoop.sh b/dev-support/bin/hadoop.sh index fd9363e66b..c60603334f 100755 --- a/dev-support/bin/hadoop.sh +++ b/dev-support/bin/hadoop.sh @@ -577,6 +577,7 @@ function shadedclient_rebuild extra=( "-Dtest=NoUnitTests" + "-Dsurefire.failIfNoSpecifiedTests=false" "-Dmaven.javadoc.skip=true" "-Dcheckstyle.skip=true" "-Dspotbugs.skip=true" @@ -614,7 +615,7 @@ function shadedclient_rebuild echo_and_redirect "${logfile}" \ "${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \ "${modules[@]}" \ - -DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \ + -DskipShade -Dtest=NoUnitTests -Dsurefire.failIfNoSpecifiedTests=false -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 e457797e3a..c732837dd1 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -169,7 +169,7 @@ -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError - 3.0.0-M1 + 3.2.5 ${maven-surefire-plugin.version} ${maven-surefire-plugin.version}