-
Notifications
You must be signed in to change notification settings - Fork 6
/
sonar-project.properties
64 lines (51 loc) · 2.23 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sonar.projectKey=com.mohsin.sonar:maven-multimodule-sonar-scanner
sonar.projectName=multi-module maven project with sonar-scanner cli
# =====================================================
# Definition of the modules
# =====================================================
sonar.modules=module1,module2,tests,report-bundle
module1.sonar.projectName=application-module1
module2.sonar.projectName=application-module2
tests.sonar.projectName=application-module-tests
report-bundle.sonar.projectName=sonar-report-bundle
# =====================================================
# Properties that will be shared amongst all modules
# =====================================================
sonar.language=java
sonar.java.source=1.8
sonar.sourceEncoding=UTF-8
sonar.exclusions=com.mohsin.sonar.MavenBasicApplication.class
sonar.java.libraries=
sonar.java.test.libraries=
sonar.junit.reportsPath=target/surefire-reports,target/failsafe-reports
sonar.coverage.exclusions=com.mohsin.sonar.MavenBasicApplication.class
sonar.core.codeCoveragePlugin=jacoco
jacoco.reports.unit.dir=target
jacoco.reports.it.dir=target
coverage.reports.dir=target
sonar.host.url=http://localhost:9000
sonar.log.level=INFO
# =====================================================
# Properties that will be modules specific
# =====================================================
module1.sonar.sources=src/main
module2.sonar.sources=src/main
tests.sonar.sources=
report-bundle.sonar.sources=
module1.sonar.tests=src/test
module2.sonar.tests=src/test
tests.sonar.tests=src/test
report-bundle.sonar.tests=
module1.sonar.binaries=target/classes
module2.sonar.binaries=target/classes
tests.sonar.binaries=target/classes
report-bundle.sonar.binaries=
module1.sonar.java.binaries=target/classes
module2.sonar.java.binaries=target/classes
tests.sonar.java.binaries=target/classes
report-bundle.java.binaries=
module1.sonar.coverage.jacoco.xmlReportPaths=../report-bundle/target/site/jacoco-aggregate/jacoco.xml
module2.sonar.coverage.jacoco.xmlReportPaths=../report-bundle/target/site/jacoco-aggregate/jacoco.xml
tests.sonar.coverage.jacoco.xmlReportPaths=../report-bundle/target/site/jacoco-aggregate/jacoco.xml
report-bundle.sonar.coverage.jacoco.xmlReportPaths=target/site/jacoco-aggregate/jacoco.xml
#-------