Skip to content

Commit

Permalink
Add code coverage plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sadilchamishka committed Oct 17, 2024
1 parent 229bcd7 commit e965de7
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,25 @@
<doUpdate>false</doUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</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>
</plugins>
</pluginManagement>

Expand Down Expand Up @@ -476,6 +495,25 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</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>
</plugins>
</build>

Expand Down Expand Up @@ -558,7 +596,6 @@
<oltu.oauth2.client.version.range>[1.0.0,1.0.3)</oltu.oauth2.client.version.range>

<mockito-core.version>4.6.1</mockito-core.version>
<jacoco.version>0.8.2</jacoco.version>
<testng.version>6.9.10</testng.version>
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<h2database.version>1.4.199</h2database.version>
Expand All @@ -574,7 +611,7 @@
<findbugs.annotations.version>3.0.1</findbugs.annotations.version>
<carbon.p2.plugin.version>5.1.2</carbon.p2.plugin.version>
<maven.buildnumber.plugin.version>1.4</maven.buildnumber.plugin.version>
<jacoco.version>0.8.2</jacoco.version>
<jacoco.version>0.8.12</jacoco.version>

<compiler-source.version>1.8</compiler-source.version>
<compiler-target.version>1.8</compiler-target.version>
Expand Down

0 comments on commit e965de7

Please sign in to comment.