Skip to content

Commit

Permalink
Add jacoco quarkus
Browse files Browse the repository at this point in the history
quarkus ext add io.quarkus:quarkus-jacoco
  • Loading branch information
fugerit79 committed Oct 17, 2024
1 parent 156d983 commit 8c695cb
Showing 1 changed file with 13 additions and 36 deletions.
49 changes: 13 additions & 36 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<artifactId>fj-doc-quarkus-tutorial</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<fj-doc-ext-kotlin-version>0.4.2</fj-doc-ext-kotlin-version>
<fj-doc-version>8.9.3</fj-doc-version>
<kotlin.version>2.0.21</kotlin.version>
<maven.compiler.release>21</maven.compiler.release>
<surefire-plugin.version>3.3.1</surefire-plugin.version>
<quarkus.platform.version>3.15.1</quarkus.platform.version>
<skipITs>true</skipITs>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<fj-doc-version>8.9.3</fj-doc-version>
<fj-doc-ext-kotlin-version>0.4.2</fj-doc-ext-kotlin-version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<kotlin.version>2.0.21</kotlin.version>
<quarkus.platform.version>3.15.1</quarkus.platform.version>
<skipITs>true</skipITs>
<surefire-plugin.version>3.3.1</surefire-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -58,6 +58,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jacoco</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
Expand Down Expand Up @@ -254,51 +258,24 @@
<quarkus.native.enabled>true</quarkus.native.enabled>
</properties>
</profile>
<!-- profiles for fugerit-org workflows -->
<profile>
<id>sonarfugerit</id>
<properties>
<!-- sonar cloud configuration -->
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>fugerit-org</sonar.organization>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<!-- sonar.projectKey must be added by the project -->
</properties>
</profile>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 8c695cb

Please sign in to comment.