diff --git a/all/pom.xml b/all/pom.xml
index cd444ca09d..b259aab547 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -53,6 +53,46 @@
false
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+
+
+ jacoco-merge
+ prepare-package
+
+ merge
+
+
+
+
+ ${project.parent.build.directory}/..
+
+ **/target/jacoco.exec
+
+
+
+
+
+
+ jacoco-report
+ prepare-package
+
+ report
+
+
+ ${project.build.directory}/jacoco-report
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 8d1edbda3f..4ae910ba6c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,6 +85,26 @@
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.6.4.201312101107
+
+
+ jacoco-prepare-agent
+
+ prepare-agent
+
+
+
+
+
+
+
@@ -448,7 +468,7 @@
**/TestUtil*
random
- ${test.jvm.argLine}
+ ${argLine} ${test.jvm.argLine}