Explicit setup for JaCoCo to measure utest coverage correctly
[groupbasedpolicy.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 83080309e7251bd11c0aabcf6c73b3da9fce1847..d448d48becd3e123d78b7d576643e0e3d98fe69b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <skip>true</skip>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>default-instrument</id>
+            <goals>
+              <goal>instrument</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>default-restore-instrumented-classes</id>
+            <goals>
+              <goal>restore-instrumented-classes</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>