diff --git a/pom.xml b/pom.xml
index 05b15327e1a3..1ec56e9d1c45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,6 +173,8 @@ under the License.
7.2.1
2.12.0
+ -Xmx256m
+
3.0.0
2.80.0
@@ -734,7 +736,7 @@ under the License.
maven-surefire-plugin
- -Xmx256m @{jacocoArgLine}
+ ${argLine.xmx} @{jacocoArgLine} ${argLine.mockito}
${toolboxVersion}
@@ -745,7 +747,7 @@ under the License.
maven-failsafe-plugin
- -Xmx256m @{jacocoArgLine}
+ ${argLine.xmx} @{jacocoArgLine} ${argLine.mockito}
${toolboxVersion}
@@ -982,19 +984,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
@@ -1269,13 +1261,15 @@ under the License.
jacoco
+
+ -Xmx1G
+
org.apache.maven.plugins
maven-surefire-plugin
- -Xmx1G @{jacocoArgLine}
${project.build.directory}/test-results-surefire