-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
42 lines (37 loc) · 1.99 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
sonar.projectKey=blog-root
sonar.projectName=blog-root
sonar.projectVersion=1.0
sonar.login=admin
sonar.password=qaz123
sonar.host.url=http://localhost:9000
## modules
sonar.modules=post,user,comment,simulation,configuration,gateway,configuration,discovery
post.sonar.projectName=Post service
post.sonar.sources=post-service/src/main
user.sonar.projectName=User service
user.sonar.sources=user-service/src/main
comment.sonar.projectName=Comment service
comment.sonar.sources=comment-service/src/main
simulation.sonar.projectName=Simulation service
simulation.sonar.sources=simulation-service/src/main
gateway.sonar.projectName=Gateway service
gateway.sonar.sources=gateway-service/src/main
configuration.sonar.projectName=Configuration service
configuration.sonar.sources=configuration-service/src/main
discovery.sonar.projectName=Discovery service
discovery.sonar.sources=discovery-service/src/main
sonar.coverage.jacoco.xmlReportPaths=target/site/**/jacoco*.xml
sonar.java.codeCoveragePlugin=jacoco
sonar.junit.reportPaths=target/surefire-reports,target/failsafe-reports
sonar.sourceEncoding=UTF-8
sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, target/classes/static/**/*.*, pom.xml
sonar.issue.ignore.multicriteria=S3437,S4684,UndocumentedApi
# Rule https://rules.sonarsource.com/java/RSPEC-3437 is ignored, as a JPA-managed field cannot be transient
sonar.issue.ignore.multicriteria.S3437.resourceKey=src/main/java/**/*
sonar.issue.ignore.multicriteria.S3437.ruleKey=squid:S3437
# Rule https://rules.sonarsource.com/java/RSPEC-1176 is ignored, as we want to follow "clean code" guidelines and classes, methods and arguments names should be self-explanatory
sonar.issue.ignore.multicriteria.UndocumentedApi.resourceKey=src/main/java/**/*
sonar.issue.ignore.multicriteria.UndocumentedApi.ruleKey=squid:UndocumentedApi
# Rule https://rules.sonarsource.com/java/RSPEC-4684
sonar.issue.ignore.multicriteria.S4684.resourceKey=src/main/java/**/*
sonar.issue.ignore.multicriteria.S4684.ruleKey=java:S4684