Skip to content

Commit 555faf2

Browse files
authored
HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#6537) Contributed by Shilun Fan
Reviewed-by: Steve Loughran <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
1 parent 0bf439c commit 555faf2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev-support/bin/hadoop.sh

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

578578
extra=(
579579
"-Dtest=NoUnitTests"
580+
"-Dsurefire.failIfNoSpecifiedTests=false"
580581
"-Dmaven.javadoc.skip=true"
581582
"-Dcheckstyle.skip=true"
582583
"-Dspotbugs.skip=true"
@@ -614,7 +615,7 @@ function shadedclient_rebuild
614615
echo_and_redirect "${logfile}" \
615616
"${MAVEN}" "${MAVEN_ARGS[@]}" verify -fae --batch-mode -am \
616617
"${modules[@]}" \
617-
-DskipShade -Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
618+
-DskipShade -Dtest=NoUnitTests -Dsurefire.failIfNoSpecifiedTests=false -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true \
618619
-Dspotbugs.skip=true ${extra[*]}
619620

620621
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.0.0-M1</maven-surefire-plugin.version>
172+
<maven-surefire-plugin.version>3.2.5</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)