HADOOP-13514. Upgrade maven surefire plugin to 2.19.1.
This commit is contained in:
parent
a297fb0886
commit
3d04c00aed
|
@ -331,10 +331,10 @@ If the build process fails with an out of memory error, you should be able to fi
|
|||
it by increasing the memory used by maven which can be done via the environment
|
||||
variable MAVEN_OPTS.
|
||||
|
||||
Here is an example setting to allocate between 256 and 512 MB of heap space to
|
||||
Here is an example setting to allocate between 256 MB and 1 GB of heap space to
|
||||
Maven
|
||||
|
||||
export MAVEN_OPTS="-Xms256m -Xmx512m"
|
||||
export MAVEN_OPTS="-Xms256m -Xmx1g"
|
||||
|
||||
----------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ RUN pip install python-dateutil
|
|||
###
|
||||
# Avoid out of memory errors in builds
|
||||
###
|
||||
ENV MAVEN_OPTS -Xms256m -Xmx512m
|
||||
ENV MAVEN_OPTS -Xms256m -Xmx1g
|
||||
|
||||
###
|
||||
# Install node js tools for web UI frameowkr
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
|
||||
<!-- Plugin versions and config -->
|
||||
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
|
||||
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
|
||||
<maven-surefire-plugin.version>2.19.1</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>
|
||||
|
||||
|
@ -1546,7 +1546,7 @@
|
|||
<test.build.data>${test.build.data}</test.build.data>
|
||||
<test.build.webapps>${test.build.webapps}</test.build.webapps>
|
||||
<test.cache.data>${test.cache.data}</test.cache.data>
|
||||
<test.build.classes>${test.build.classes}</test.build.classes>
|
||||
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
|
||||
|
||||
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
|
||||
<java.security.krb5.conf>${project.build.directory}/test-classes/krb5.conf</java.security.krb5.conf>
|
||||
|
|
Loading…
Reference in New Issue