This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch HDDS-13541
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/HDDS-13541 by this push:
new 6b5ee3c8320 extract SONAR_MAVEN_PLUGIN_VERSION
6b5ee3c8320 is described below
commit 6b5ee3c832011917358c42e8ae14b6cf619fc859
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Aug 6 09:49:26 2025 +0200
extract SONAR_MAVEN_PLUGIN_VERSION
---
hadoop-ozone/dev-support/checks/sonar.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hadoop-ozone/dev-support/checks/sonar.sh
b/hadoop-ozone/dev-support/checks/sonar.sh
index bfd6708ab51..1b6773f779b 100755
--- a/hadoop-ozone/dev-support/checks/sonar.sh
+++ b/hadoop-ozone/dev-support/checks/sonar.sh
@@ -23,7 +23,8 @@ if [ ! "$SONAR_TOKEN" ]; then
exit 1
fi
+: "${SONAR_MAVEN_PLUGIN_VERSION:=5.1.0.4751}"
mvn -V -B -DskipShade -DskipTests -DskipRecon --no-transfer-progress \
-Dsonar.coverage.jacoco.xmlReportPaths="$(pwd)/target/coverage/all.xml" \
- verify org.sonarsource.scanner.maven:sonar-maven-plugin:5.1.0.4751:sonar
+ verify
"org.sonarsource.scanner.maven:sonar-maven-plugin:${SONAR_MAVEN_PLUGIN_VERSION}:sonar"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]