You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sl...@apache.org on 2024/02/23 06:19:10 UTC
(hadoop) 01/01: Revert "HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#653…"
This is an automated email from the ASF dual-hosted git repository.
slfan1989 pushed a commit to branch revert-6537-HADOOP-19071
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit c8412c82fe249d9ef556a57a2235f3d733b569b7
Author: slfan1989 <55...@users.noreply.github.com>
AuthorDate: Fri Feb 23 14:18:56 2024 +0800
Revert "HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#653…"
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 c60603334feb..fd9363e66bbd 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 a344b562b951..3086e7496998 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -169,7 +169,7 @@
<!-- Plugin versions and config -->
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
- <maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
+ <maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
<maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version>
<maven-failsafe-plugin.version>${maven-surefire-plugin.version}</maven-failsafe-plugin.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org