-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathsonar-project.properties
More file actions
57 lines (49 loc) · 2.66 KB
/
sonar-project.properties
File metadata and controls
57 lines (49 loc) · 2.66 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
# 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.
# SonarCloud configuration for Apache Juneau
# This configuration uses SonarQube's Maven auto-detection for multi-module projects.
# SonarQube will automatically discover all modules from the Maven POM structure.
sonar.projectKey=apache_juneau
sonar.organization=apache
sonar.host.url=https://sonarcloud.io
# Project information
sonar.projectName=Apache Juneau
sonar.projectVersion=9.2.1-SNAPSHOT
# Multi-module configuration
# SonarQube Maven Scanner will auto-detect modules and their source/test directories
# from each module's pom.xml. No need to specify sonar.sources/sonar.tests here.
# Exclusions - apply to all modules
# Exclude build artifacts, documentation, examples, resources, and generated code
sonar.exclusions=**/target/**,**/doc/**,**/examples/**,**/src/main/resources/**,**/src/test/resources/**,**/generated/**,**/build/**
sonar.test.exclusions=**/target/**,**/doc/**,**/examples/**,**/generated/**,**/build/**
# Coverage configuration
# SonarCloud will auto-detect JaCoCo reports if they're in standard locations
# For multi-module projects, SonarCloud can use either:
# 1. Individual module execution data files: **/target/jacoco.exec
# 2. XML reports: **/target/site/jacoco/jacoco.xml
# 3. Aggregate report (from juneau-utest): **/target/site/jacoco-aggregate/jacoco.xml
# SonarCloud will automatically find these if they exist, but we can explicitly specify them:
sonar.coverage.jacoco.xmlReportPaths=**/target/site/jacoco-aggregate/jacoco.xml,**/target/site/jacoco/jacoco.xml
sonar.junit.reportPaths=**/target/surefire-reports
# Java specific settings
sonar.java.source=17
sonar.java.target=17
# Quality gate configuration
sonar.qualitygate.wait=true
# Rule exclusions
# Exclude CSS rules - CSS files may contain valid selectors that SonarQube doesn't recognize
sonar.issue.ignore.multicriteria=e3
sonar.issue.ignore.multicriteria.e3.ruleKey=css:*
sonar.issue.ignore.multicriteria.e3.resourceKey=**/*.css