|
@@ -84,6 +84,12 @@
|
|
|
-->
|
|
|
<enforced.java.version>[${javac.version},)</enforced.java.version>
|
|
|
<enforced.maven.version>[3.0.2,)</enforced.maven.version>
|
|
|
+
|
|
|
+ <!-- Plugin versions and config -->
|
|
|
+ <maven-surefire-plugin.argLine>-Xmx4096m -XX:MaxPermSize=768m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
|
|
|
+ <maven-surefire-plugin.version>2.17</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>
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
@@ -948,7 +954,7 @@
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.16</version>
|
|
|
+ <version>${maven-surefire-plugin.version}</version>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
@@ -1097,7 +1103,7 @@
|
|
|
<configuration>
|
|
|
<reuseForks>false</reuseForks>
|
|
|
<forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds>
|
|
|
- <argLine>-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError</argLine>
|
|
|
+ <argLine>${maven-surefire-plugin.argLine}</argLine>
|
|
|
<environmentVariables>
|
|
|
<!-- HADOOP_HOME required for tests on Windows to find winutils -->
|
|
|
<HADOOP_HOME>${hadoop.common.build.dir}</HADOOP_HOME>
|