Skip to content

Commit

Permalink
chore: Add jacoco plugin to support code coverage (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsufin committed Feb 24, 2022
1 parent c09b89b commit 20687bc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gapic-generator-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,27 @@
</configuration>
</plugin>

<!-- Code coverage for SonarCloud -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit 20687bc

Please sign in to comment.