Skip to content

Commit 10ab8ab

Browse files
authored
Revert "HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#6537)" (#6578)
This reverts commit 555faf2.
1 parent 99b9e7f commit 10ab8ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dev-support/bin/hadoop.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ function shadedclient_rebuild
577577

578578
extra=(
579579
"-Dtest=NoUnitTests"
580-
"-Dsurefire.failIfNoSpecifiedTests=false"
581580
"-Dmaven.javadoc.skip=true"
582581
"-Dcheckstyle.skip=true"
583582
"-Dspotbugs.skip=true"
@@ -615,7 +614,7 @@ function shadedclient_rebuild
615614
echo_and_redirect "${logfile}" \
616615
"${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \
617616
"${modules[@]}" \
618-
-DskipShade -Dtest=NoUnitTests -Dsurefire.failIfNoSpecifiedTests=false -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
617+
-DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
619618
-Dspotbugs.skip=true ${extra[*]}
620619

621620
count=$("${GREP}" -c '\[ERROR\]' "${logfile}")

hadoop-project/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169

170170
<!-- Plugin versions and config -->
171171
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
172-
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
172+
<maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
173173
<maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version>
174174
<maven-failsafe-plugin.version>${maven-surefire-plugin.version}</maven-failsafe-plugin.version>
175175

0 commit comments

Comments
 (0)