-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathsonar-project.properties
More file actions
86 lines (75 loc) · 3.1 KB
/
sonar-project.properties
File metadata and controls
86 lines (75 loc) · 3.1 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# SonarQube Project Configuration for QPP Conversion Tool
# -----------------------------------------------------------------------------
# Project Metadata
# -----------------------------------------------------------------------------
sonar.organization=cmsgov
sonar.projectKey=qpp-conversion-tool
sonar.projectName=qpp-conversion-tool
sonar.projectVersion=1.0
# -----------------------------------------------------------------------------
# Quality Gate & SCM Integration
# -----------------------------------------------------------------------------
# Wait for the quality gate result before finishing the scan
sonar.qualitygate.wait=true
# Use Git to detect changed files and SCM information
sonar.scm.provider=git
# Disable automatic CI configuration detection (SonarCloud)
sonar.ci.autoconfig.disabled=true
# -----------------------------------------------------------------------------
# Source Code Encoding
# -----------------------------------------------------------------------------
sonar.sourceEncoding=UTF-8
# -----------------------------------------------------------------------------
# Source and Test Locations (All Maven Modules)
# -----------------------------------------------------------------------------
# List of source directories to analyze
sonar.sources=\
commons/src/main/java,\
converter/src/main/java,\
commandline/src/main/java,\
rest-api/src/main/java,\
generate/src/main/java
# List of test directories to analyze
sonar.tests=\
commons/src/test/java,\
converter/src/test/java,\
commandline/src/test/java,\
rest-api/src/test/java,\
generate/src/test/java
# -----------------------------------------------------------------------------
# Compiled Class Locations (All Maven Modules)
# -----------------------------------------------------------------------------
# Paths to compiled bytecode for main sources
sonar.java.binaries=\
commons/target/classes,\
converter/target/classes,\
commandline/target/classes,\
rest-api/target/classes,\
generate/target/classes
# Paths to compiled bytecode for test sources
sonar.java.test.binaries=\
commons/target/test-classes,\
converter/target/test-classes,\
commandline/target/test-classes,\
rest-api/target/test-classes,\
generate/target/test-classes
# -----------------------------------------------------------------------------
# Code Coverage and Test Reports
# -----------------------------------------------------------------------------
# JaCoCo aggregate coverage report (from test-coverage module)
sonar.coverage.jacoco.xmlReportPaths=\
test-coverage/target/site/jacoco-aggregate/jacoco.xml
# JUnit test report directories for each module
sonar.junit.reportPaths=\
commons/target/surefire-reports,\
converter/target/surefire-reports,\
commandline/target/surefire-reports,\
rest-api/target/surefire-reports,\
generate/target/surefire-reports
# -----------------------------------------------------------------------------
# File Exclusions
# -----------------------------------------------------------------------------
# Exclude build artifacts and generated code
sonar.exclusions=\
**/target/**,\
**/*.generated.java