From f9015fde9066fed42ac33d5cc455bb488aedec30 Mon Sep 17 00:00:00 2001 From: Rich Ellis Date: Tue, 25 Nov 2025 09:47:42 +0000 Subject: [PATCH 1/2] build(deps-dev): pin sonar scanner plugin version --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 1ecc464f6..8cc1db28b 100644 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,7 @@ 3.2.1 5.20.0 2.0.17 + 5.3.0.6276 UTF-8 @@ -433,6 +434,11 @@ + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar-scanner-version} + From 64423341b00df0068e1cffbcc0c3c73b403f22d4 Mon Sep 17 00:00:00 2001 From: Rich Ellis Date: Tue, 25 Nov 2025 09:47:59 +0000 Subject: [PATCH 2/2] ci: update sonar scan goal --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 52dac4b3c..58b1c2313 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -334,7 +334,7 @@ void applyCustomizations() { scanCode = { withSonarQubeEnv(installationName: 'SonarQubeServer') { - sh "mvn sonar:sonar -Dsonar.qualitygate.wait=true -Dsonar.exclusions=examples/** --settings build/jenkins.settings.xml" + sh "mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.qualitygate.wait=true -Dsonar.exclusions=examples/** --settings build/jenkins.settings.xml" } } } @@ -370,4 +370,3 @@ void publishMaven(mvnArgs='') { void publishDocs() { sh './scripts/javadoc/publish-doc.sh' } -