Update SonarQube configuration in GitLab CI pipeline

Removed the `sonar.sources` property as it is redundant in the current setup. SonarQube automatically detects source files, simplifying the configuration. This ensures the pipeline remains clean and easier to maintain.
This commit is contained in:
2025-04-21 15:27:36 +02:00
parent f056ad2f47
commit c7e534a4ee
-1
View File
@@ -56,7 +56,6 @@ sonarcloud_scan:
-Dsonar.token=${SONAR_TOKEN} \ -Dsonar.token=${SONAR_TOKEN} \
-Dsonar.branch.name=develop \ -Dsonar.branch.name=develop \
-Dsonar.projectBaseDir=${CI_PROJECT_DIR} \ -Dsonar.projectBaseDir=${CI_PROJECT_DIR} \
-Dsonar.sources=src/main/java \
-Dsonar.tests=src/test/java \ -Dsonar.tests=src/test/java \
-Dsonar.exclusions=docs/** \ -Dsonar.exclusions=docs/** \
-Dsonar.java.binaries=target/classes -Dsonar.java.binaries=target/classes