From 66e91ba18ce1af26074014fa5288856b084ebe06 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 4 Apr 2026 11:13:47 +0200 Subject: [PATCH] fix: remove explicit sonar.sources/tests from mvn sonar:sonar Maven sonar plugin auto-detects sources and tests from the POM module structure. Passing sonar.sources as CLI args caused path doubling (module-dir/module-dir/src) in multi-module projects. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/sonarqube.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index e423165f..6bce00f4 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -63,9 +63,4 @@ jobs: -Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \ -Dsonar.token=${{ secrets.SONAR_TOKEN }} \ -Dsonar.projectKey=cameleer3-server \ - -Dsonar.projectName="Cameleer3 Server" \ - -Dsonar.sources=cameleer3-server-core/src/main/java,cameleer3-server-app/src/main/java,ui/src \ - -Dsonar.tests=cameleer3-server-core/src/test/java,cameleer3-server-app/src/test/java \ - -Dsonar.typescript.eslint.reportPaths=ui/eslint-report.json \ - -Dsonar.eslint.reportPaths=ui/eslint-report.json \ - -Dsonar.exclusions="ui/node_modules/**,ui/dist/**,**/target/**" + -Dsonar.projectName="Cameleer3 Server"