moves to an older version (0.7.4.201502262128) of JaCoCo.
authorChris Jaekl <cejaekl@yahoo.com>
Sat, 7 Jan 2017 13:02:28 +0000 (22:02 +0900)
committerChris Jaekl <cejaekl@yahoo.com>
Sat, 7 Jan 2017 13:02:28 +0000 (22:02 +0900)
The current maven plugin code doesn't work with 0.7.8, throwing the following error:

[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.8:report (post-unit-test) on project squelch: An error has occurred in JaCoCo report generation. Error while creating report: Cannot read execution data version 0x1006. This version of JaCoCo uses execution data version 0x1007. -> [Help 1]
Waiting for Jenkins to finish collecting data[ERROR]

This older version is reported to be compatible.

pom.xml

diff --git a/pom.xml b/pom.xml
index d8e45b13c479983e40103c6eff1429b8696ee777..86b3db0ec0d7f5c0834f85020abe5837ca225dcb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
         <!-- <version>0.6.5.201403032054</version> -->
-        <version>0.7.8</version>
+        <version>0.7.4.201502262128</version>
         <executions>
           <!--
             Prepares the property pointing to the JaCoCo runtime agent which