Skip to content

Commit

Permalink
Fix coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed May 22, 2024
1 parent 96c0290 commit a8e017b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,27 @@
</profile>
<profile>
<id>coverage</id>
<properties>
<argLine>@{jacocoArgLine}</argLine>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<modules>
<module>coverage</module>
</modules>
</profile>
<profile>
<id>sonar</id>
<properties>
<!--suppress UnresolvedMavenProperty -->
<sonar.projectKey>io.smallrye.config:smallrye-config</sonar.projectKey>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<!--suppress UnresolvedMavenProperty -->
<sonar.coverage.jacoco.xmlReportPaths>
${maven.multiModuleProjectDirectory}/coverage/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
Expand Down
5 changes: 4 additions & 1 deletion validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Duser.language=en -Duser.region=US</argLine>
<systemPropertyVariables>
<user.language>en</user.language>
<user.region>US</user.region>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit a8e017b

Please sign in to comment.