HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#6537) Contributed by Shilun Fan
Reviewed-by: Steve Loughran <stevel@cloudera.com> Signed-off-by: Shilun Fan <slfan1989@apache.org>
This commit is contained in:
parent
0bf439c0f9
commit
555faf28ce
@ -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}")
|
||||
|
@ -169,7 +169,7 @@
|
||||
|
||||
<!-- Plugin versions and config -->
|
||||
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
|
||||
<maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
|
||||
<maven-surefire-plugin.version>3.2.5</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user