|
6 | 6 | <artifactId>fj-doc-quarkus-tutorial</artifactId>
|
7 | 7 | <version>1.0.0-SNAPSHOT</version>
|
8 | 8 | <properties>
|
| 9 | + <compiler-plugin.version>3.13.0</compiler-plugin.version> |
| 10 | + <fj-doc-ext-kotlin-version>0.4.2</fj-doc-ext-kotlin-version> |
| 11 | + <fj-doc-version>8.9.3</fj-doc-version> |
| 12 | + <kotlin.version>2.0.21</kotlin.version> |
9 | 13 | <maven.compiler.release>21</maven.compiler.release>
|
10 |
| - <surefire-plugin.version>3.3.1</surefire-plugin.version> |
11 |
| - <quarkus.platform.version>3.15.1</quarkus.platform.version> |
12 |
| - <skipITs>true</skipITs> |
13 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
14 |
| - <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
15 |
| - <compiler-plugin.version>3.13.0</compiler-plugin.version> |
16 | 15 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
17 |
| - <fj-doc-version>8.9.3</fj-doc-version> |
18 |
| - <fj-doc-ext-kotlin-version>0.4.2</fj-doc-ext-kotlin-version> |
| 16 | + <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
19 | 17 | <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
|
20 |
| - <kotlin.version>2.0.21</kotlin.version> |
| 18 | + <quarkus.platform.version>3.15.1</quarkus.platform.version> |
| 19 | + <skipITs>true</skipITs> |
| 20 | + <surefire-plugin.version>3.3.1</surefire-plugin.version> |
| 21 | + <versions.jacoco>0.8.12</versions.jacoco> |
21 | 22 | </properties>
|
22 | 23 | <dependencyManagement>
|
23 | 24 | <dependencies>
|
|
58 | 59 | <groupId>io.quarkus</groupId>
|
59 | 60 | <artifactId>quarkus-arc</artifactId>
|
60 | 61 | </dependency>
|
| 62 | + <dependency> |
| 63 | + <groupId>io.quarkus</groupId> |
| 64 | + <artifactId>quarkus-jacoco</artifactId> |
| 65 | + </dependency> |
61 | 66 | <dependency>
|
62 | 67 | <groupId>io.quarkus</groupId>
|
63 | 68 | <artifactId>quarkus-junit5</artifactId>
|
|
254 | 259 | <quarkus.native.enabled>true</quarkus.native.enabled>
|
255 | 260 | </properties>
|
256 | 261 | </profile>
|
257 |
| - <!-- profiles for fugerit-org workflows --> |
258 | 262 | <profile>
|
259 | 263 | <id>sonarfugerit</id>
|
260 | 264 | <properties>
|
261 |
| - <!-- sonar cloud configuration --> |
| 265 | + <sonar.moduleKey>${project.artifactId}</sonar.moduleKey> |
262 | 266 | <sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
263 | 267 | <sonar.organization>fugerit-org</sonar.organization>
|
264 |
| - <sonar.moduleKey>${project.artifactId}</sonar.moduleKey> |
265 |
| - <!-- sonar.projectKey must be added by the project --> |
266 | 268 | </properties>
|
267 | 269 | </profile>
|
268 | 270 | <profile>
|
269 | 271 | <id>coverage</id>
|
270 | 272 | <build>
|
271 | 273 | <plugins>
|
272 | 274 | <plugin>
|
273 |
| - <groupId>org.apache.maven.plugins</groupId> |
274 | 275 | <artifactId>maven-surefire-plugin</artifactId>
|
275 | 276 | <configuration>
|
276 | 277 | <skipTests>false</skipTests>
|
|
279 | 280 | <plugin>
|
280 | 281 | <groupId>org.jacoco</groupId>
|
281 | 282 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 283 | + <version>${versions.jacoco}</version> |
282 | 284 | <executions>
|
283 | 285 | <execution>
|
284 |
| - <id>prepare-agent</id> |
| 286 | + <id>default-prepare-agent</id> |
285 | 287 | <goals>
|
286 | 288 | <goal>prepare-agent</goal>
|
287 | 289 | </goals>
|
| 290 | + <configuration> |
| 291 | + <exclClassLoaders>*QuarkusClassLoader</exclClassLoaders> |
| 292 | + <destFile>${project.build.directory}/jacoco-quarkus.exec</destFile> |
| 293 | + <append>true</append> |
| 294 | + </configuration> |
288 | 295 | </execution>
|
289 | 296 | <execution>
|
290 |
| - <id>report</id> |
| 297 | + <id>generate-code-coverage-report</id> |
| 298 | + <phase>test</phase> |
291 | 299 | <goals>
|
292 | 300 | <goal>report</goal>
|
293 | 301 | </goals>
|
294 |
| - <configuration> |
295 |
| - <formats> |
296 |
| - <format>XML</format> |
297 |
| - </formats> |
298 |
| - </configuration> |
299 | 302 | </execution>
|
300 | 303 | </executions>
|
301 | 304 | </plugin>
|
|
0 commit comments