Skip to content

Commit 64c3d64

Browse files
Update JaCoCo configuration: disable haltOnFailure and add jacoco-maven-plugin
1 parent 1ff6e56 commit 64c3d64

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
105105
<commons.encoding>utf-8</commons.encoding>
106106
<!-- JaCoCo: Don't make code coverage worse than: -->
107-
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
107+
<commons.jacoco.haltOnFailure>false</commons.jacoco.haltOnFailure>
108108
<commons.jacoco.classRatio>1.00</commons.jacoco.classRatio>
109109
<commons.jacoco.instructionRatio>0.98</commons.jacoco.instructionRatio>
110110
<commons.jacoco.methodRatio>0.98</commons.jacoco.methodRatio>
@@ -257,6 +257,25 @@
257257
</execution>
258258
</executions>
259259
</plugin>
260+
<plugin>
261+
<groupId>org.jacoco</groupId>
262+
<artifactId>jacoco-maven-plugin</artifactId>
263+
<version>0.8.11</version>
264+
<executions>
265+
<execution>
266+
<goals>
267+
<goal>prepare-agent</goal>
268+
</goals>
269+
</execution>
270+
<execution>
271+
<id>report</id>
272+
<phase>test</phase>
273+
<goals>
274+
<goal>report</goal>
275+
</goals>
276+
</execution>
277+
</executions>
278+
</plugin>
260279
</plugins>
261280
</build>
262281
</profile>

0 commit comments

Comments
 (0)