-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsonar-project.properties
51 lines (40 loc) · 1.83 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
# Required metadata
sonar.projectKey=thiagodnf.jacof
sonar.projectName=jacof
sonar.projectVersion=1.0
sonar.java.source=1.8
# Path to the parent source code directory.
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional. If not set, SonarQube starts looking for source code
# from the directory containing the sonar-project.properties file.
sonar.sources=src/main/java
sonar.tests=src/test/java
#sonar.modules=adiaco-core,adiaco-ge,adiaco-problem,adiaco-algorithm,adiaco-exec
#sonar.modules=jacof
#sonar.exclusions=src/test/**
#jacof.sonar.projectName=jacof
#adiaco-ge.sonar.projectName=adiaco-ge
#adiaco-problem.sonar.projectName=adiaco-problem
#adiaco-algorithm.sonar.projectName=adiaco-algorithm
#adiaco-exec.sonar.projectName=adiaco-exec
# Import tests execution reports (JUnit XML format).
# Set the property to the path of the directory containing all the XML reports.
##sonar.junit.reportsPath=target/surefire-reports
# Import tests execution reports (JUnit XML format).
# Set the property to the path of the directory containing all the XML reports.
#sonar.surefire.reportsPath=target/surefire-reports
# Import JaCoCo code coverage report.
# Set the property to the path of the JaCoCo .exec report.
sonar.jacoco.reportPaths=target/jacoco.exec
##sonar.java.coveragePlugin=jacoco
##sonar.dynamicAnalysis=reuseReports
# Import Cobertura code coverage report.
# Set the property to the path of the Cobertura .ser report.
##sonar.cobertura.reportPath=target/site/cobertura/coverage.xml
# Encoding of the source code
sonar.sourceEncoding=UTF-8
#####sonar.tests=src/test/java
sonar.jacoco.reportPaths=target/jacoco.exec
sonar.java.binaries=target/classes
#Tells SonarQube where the integration tests code coverage report is
#sonar.jacoco.itReportPath=reports/jacoco/jacoco-it.exec