diff --git a/pom.xml b/pom.xml
index d83ddb44cb59..775d7203aa2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,6 +172,8 @@ under the License.
7.2.1
2.12.0
+ -Xmx256m
+
0.14.1
@@ -697,7 +699,7 @@ under the License.
maven-surefire-plugin
- -Xmx256m @{jacocoArgLine}
+ ${argLine.xmx} @{jacocoArgLine} ${argLine.mockito}
${toolboxVersion}
@@ -708,7 +710,7 @@ under the License.
maven-failsafe-plugin
- -Xmx256m @{jacocoArgLine}
+ ${argLine.xmx} @{jacocoArgLine} ${argLine.mockito}
${toolboxVersion}
@@ -945,19 +947,9 @@ under the License.
org.mockito:mockito-core:jar
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
- -Xmx256m -javaagent:${org.mockito:mockito-core:jar}
-
-
-
-
-
+
+ -javaagent:@{org.mockito:mockito-core:jar}
+
graph
@@ -1211,13 +1203,15 @@ under the License.
jacoco
+
+ -Xmx1G
+
org.apache.maven.plugins
maven-surefire-plugin
- -Xmx1G @{jacocoArgLine}
${project.build.directory}/test-results-surefire