Skip to content

Commit 49a1bbf

Browse files
committed
JCR-5174 Use SonarQube path patterns which should work with multimodule
projects as well
1 parent 65fd0fa commit 49a1bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jackrabbit-parent/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
<!-- this project uses cross-module reports with one aggregate, https://docs.sonarsource.com/sonarcloud/enriching/test-coverage/java-test-coverage/#add-coverage-in-a-multi-module-maven-project -->
8383
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
8484
<!-- this should be the same as the exclusions for jacoco, compare with https://groups.google.com/g/sonarqube/c/VwEE_ZD2KzI -->
85-
<sonar.coverage.exclusions>org/apache/jackrabbit/test/**</sonar.coverage.exclusions>
85+
<sonar.coverage.exclusions>**/org/apache/jackrabbit/test/**</sonar.coverage.exclusions>
8686
<!-- exclude test code from analysis-->
87-
<sonar.test.exclusions>src/test/**</sonar.test.exclusions>
87+
<sonar.test.exclusions>**</sonar.test.exclusions>
8888
</properties>
8989

9090

0 commit comments

Comments
 (0)