Skip to content

Commit 2989ac1

Browse files
committed
Add JaCoCo plugin for code coverage reporting
1 parent 73963f3 commit 2989ac1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,25 @@
139139
<excludeFromFailureFile>pmd-exclude.properties</excludeFromFailureFile>
140140
</configuration>
141141
</plugin>
142+
<plugin>
143+
<groupId>org.jacoco</groupId>
144+
<artifactId>jacoco-maven-plugin</artifactId>
145+
<version>0.8.14</version>
146+
<executions>
147+
<execution>
148+
<goals>
149+
<goal>prepare-agent</goal>
150+
</goals>
151+
</execution>
152+
<execution>
153+
<id>generate-code-coverage-report</id>
154+
<phase>test</phase>
155+
<goals>
156+
<goal>report</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
</plugin>
142161
</plugins>
143162
</build>
144163
</project>

0 commit comments

Comments
 (0)