Skip to content

Commit 0bcb2d1

Browse files
authored
chore: Add jacoco plugin to support code coverage (#953)
1 parent de81617 commit 0bcb2d1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

+21
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,27 @@
210210
</configuration>
211211
</plugin>
212212

213+
<!-- Code coverage for SonarCloud -->
214+
<plugin>
215+
<groupId>org.jacoco</groupId>
216+
<artifactId>jacoco-maven-plugin</artifactId>
217+
<version>0.8.7</version>
218+
<executions>
219+
<execution>
220+
<goals>
221+
<goal>prepare-agent</goal>
222+
</goals>
223+
</execution>
224+
<execution>
225+
<id>report</id>
226+
<phase>test</phase>
227+
<goals>
228+
<goal>report</goal>
229+
</goals>
230+
</execution>
231+
</executions>
232+
</plugin>
233+
213234
<plugin>
214235
<groupId>org.apache.maven.plugins</groupId>
215236
<artifactId>maven-shade-plugin</artifactId>

0 commit comments

Comments
 (0)