# SonarQube 项目配置文件
# 项目基本信息
sonar.projectKey=fzx-platform
sonar.projectName=风七六本地生活服务平台
sonar.projectVersion=1.1.0
# 源代码配置
sonar.sources=services/common-service/src/main/java,services/api-gateway/src/main/java,services/auth-service/src/main/java,services/user-service/src/main/java,services/order-service/src/main/java,services/merchant-service/src/main/java,services/platform-service/src/main/java,services/product-service/src/main/java,services/rider-service/src/main/java,services/upload-service/src/main/java,services/marketing-service/src/main/java,services/map-service/src/main/java
sonar.tests=services/common-service/src/test/java,services/api-gateway/src/test/java,services/auth-service/src/test/java,services/user-service/src/test/java,services/order-service/src/test/java,services/merchant-service/src/test/java,services/platform-service/src/test/java,services/product-service/src/test/java,services/rider-service/src/test/java,services/upload-service/src/test/java,services/marketing-service/src/test/java,services/map-service/src/test/java
# Java配置
sonar.java.source=21
sonar.java.target=21
sonar.java.coveragePlugin=jacoco
# JaCoCo覆盖率报告配置
sonar.jacoco.reportPaths=services/common-service/target/jacoco.exec,services/api-gateway/target/jacoco.exec,services/auth-service/target/jacoco.exec,services/user-service/target/jacoco.exec,services/order-service/target/jacoco.exec,services/merchant-service/target/jacoco.exec,services/platform-service/target/jacoco.exec,services/product-service/target/jacoco.exec,services/rider-service/target/jacoco.exec,services/upload-service/target/jacoco.exec,services/marketing-service/target/jacoco.exec,services/map-service/target/jacoco.exec
# 代码编码
sonar.sourceEncoding=UTF-8
# 排除目录
sonar.exclusions=**/config/**,**/entity/**,**/dto/**,**/mapper/**,**/controller/**,**/config/**/*Config.java
# 质量阈值配置（这些配置需要在SonarQube服务器端的Quality Gate中设置）
# 以下为建议的质量门禁阈值
# sonar.qualitygate.wait=true
# 分支分析配置
sonar.branch.name=develop
