Skip to content

Commit a8e017b

Browse files
committed
Fix coverage reports
1 parent 96c0290 commit a8e017b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

pom.xml

+12-1
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,27 @@
147147
</profile>
148148
<profile>
149149
<id>coverage</id>
150+
<properties>
151+
<argLine>@{jacocoArgLine}</argLine>
152+
</properties>
153+
<build>
154+
<plugins>
155+
<plugin>
156+
<groupId>org.jacoco</groupId>
157+
<artifactId>jacoco-maven-plugin</artifactId>
158+
</plugin>
159+
</plugins>
160+
</build>
150161
<modules>
151162
<module>coverage</module>
152163
</modules>
153164
</profile>
154165
<profile>
155166
<id>sonar</id>
156167
<properties>
157-
<!--suppress UnresolvedMavenProperty -->
158168
<sonar.projectKey>io.smallrye.config:smallrye-config</sonar.projectKey>
159169
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
170+
<!--suppress UnresolvedMavenProperty -->
160171
<sonar.coverage.jacoco.xmlReportPaths>
161172
${maven.multiModuleProjectDirectory}/coverage/target/site/jacoco-aggregate/jacoco.xml
162173
</sonar.coverage.jacoco.xmlReportPaths>

validator/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@
7272
<groupId>org.apache.maven.plugins</groupId>
7373
<artifactId>maven-surefire-plugin</artifactId>
7474
<configuration>
75-
<argLine>-Duser.language=en -Duser.region=US</argLine>
75+
<systemPropertyVariables>
76+
<user.language>en</user.language>
77+
<user.region>US</user.region>
78+
</systemPropertyVariables>
7679
</configuration>
7780
</plugin>
7881
</plugins>

0 commit comments

Comments
 (0)