Skip to content

Commit

Permalink
Try to enable code coverage for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 8, 2024
1 parent 33bda18 commit 8894b43
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ org.xml.sax, org.xml.sax.ext, org.xml.sax.helpers</osgi.import>

<build>
<plugins>
<!-- base definitions work for OSGi; no more Automatic Module name for 1.2.0 -->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -145,6 +143,25 @@ org.xml.sax, org.xml.sax.ext, org.xml.sax.helpers</osgi.import>
</execution>
</executions>
</plugin>
<!-- 07-Jun-2024, tatu: JaCoCo for code coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 8894b43

Please sign in to comment.