Skip to content

Commit

Permalink
Added jacoco maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cant-code committed Aug 15, 2023
1 parent 0eb58f2 commit 891a22e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<springdoc.version>2.1.0</springdoc.version>
<snakeyaml.version>2.0</snakeyaml.version>
<testcontainers-bom.version>1.18.3</testcontainers-bom.version>
<jacoco-maven-plugin.version>0.8.9</jacoco-maven-plugin.version>

<sonar.organization>cant-code</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down Expand Up @@ -125,6 +126,26 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>jacoco-initializer</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 891a22e

Please sign in to comment.