diff --git a/pom.xml b/pom.xml
index 856f8565c..066072a8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,9 @@
org.apache.maven.plugins
maven-surefire-plugin
${maven-surefire-plugin.version}
+
+ ${surefireArgLine}
+
org.apache.maven.plugins
@@ -189,6 +192,28 @@
org.jacoco
jacoco-maven-plugin
${jacoco-maven-plugin.version}
+
+
+ pre-unit-test
+
+ prepare-agent
+
+
+ surefireArgLine
+ ${project.build.directory}/jacoco.exec
+
+
+
+ post-unit-test
+ test
+
+ report
+
+
+ ${project.build.directory}/jacoco.exec
+
+
+