Skip to content

Commit 96c0290

Browse files
committed
Sonar properties
1 parent 989a56d commit 96c0290

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ jobs:
130130
java-version: 17
131131

132132
- name: sonar
133-
run: mvn sonar:sonar -Psonar -Dsonar.projectKey=io.smallrye.config:smallrye-config -Dsonar.token=${{secrets.SONAR_TOKEN}}
133+
run: mvn sonar:sonar -Psonar -Dsonar.token=${{secrets.SONAR_TOKEN}}

pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@
155155
<id>sonar</id>
156156
<properties>
157157
<!--suppress UnresolvedMavenProperty -->
158+
<sonar.projectKey>io.smallrye.config:smallrye-config</sonar.projectKey>
159+
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
158160
<sonar.coverage.jacoco.xmlReportPaths>
159161
${maven.multiModuleProjectDirectory}/coverage/target/site/jacoco-aggregate/jacoco.xml
160162
</sonar.coverage.jacoco.xmlReportPaths>

0 commit comments

Comments
 (0)