-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy path.sonar-project.properties
More file actions
34 lines (34 loc) · 1.93 KB
/
.sonar-project.properties
File metadata and controls
34 lines (34 loc) · 1.93 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
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
sonar.organization=apache
sonar.projectKey=apache-daffodil
sonar.modules=daffodil-cli,daffodil-codegen-c,daffodil-core,daffodil-macro-lib,daffodil-propgen,daffodil-schematron,daffodil-slf4j-logger,daffodil-tdml-lib,daffodil-tdml-processor,daffodil-test,daffodil-test-ibm1,daffodil-test-integration
sonar.sources=src/main
sonar.tests=src/test
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-
# TODO DAFFODIL-1958 Main.scala already has a ticket to reduce duplication.
# It can be excluded until that is resolved
sonar.cpd.exclusions=daffodil-cli/src/main/scala/org/apache/daffodil/cli/Main.scala
sonar.java.binaries=target/**/classes
sonar.java.test.binaries=target/**/test-classes
# SONAR_JAVA_JARS and SONAR_TEST_JAVA_JARS must be provided externally
# You can get them by running the same commands in your shell as is run
# in .github/workflows/main.yml for the Prepare for SonarCloud Scan step
sonar.java.libraries=${env.SONAR_JAVA_JARS}
sonar.java.test.libraries=${env.SONAR_JAVA_JARS}
# SCALA_VERSION (major.minor.patch) must be provided externally
sonar.scala.coverage.reportPaths=../target/scala-${env.SONAR_SCALA_VERSION}/scoverage-report/scoverage.xml