You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2025/08/06 06:06:06 UTC
(ozone) 02/02: set SonarQube properties in pom.xml
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
commit 1ea5d259967baf9d44813ed167828f483dee7d70
Author: Doroszlai, Attila <ad...@apache.org>
AuthorDate: Wed Aug 6 08:04:09 2025 +0200
set SonarQube properties in pom.xml
---
hadoop-ozone/dev-support/checks/sonar.sh | 1 -
pom.xml | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/hadoop-ozone/dev-support/checks/sonar.sh b/hadoop-ozone/dev-support/checks/sonar.sh
index 63c931ce3a9..bfd6708ab51 100755
--- a/hadoop-ozone/dev-support/checks/sonar.sh
+++ b/hadoop-ozone/dev-support/checks/sonar.sh
@@ -26,5 +26,4 @@ fi
mvn -V -B -DskipShade -DskipTests -DskipRecon --no-transfer-progress \
-Dsonar.coverage.jacoco.xmlReportPaths="$(pwd)/target/coverage/all.xml" \
- -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=hadoop-ozone \
verify org.sonarsource.scanner.maven:sonar-maven-plugin:5.1.0.4751:sonar
diff --git a/pom.xml b/pom.xml
index d37a3005bb0..17ed8cdd63c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -206,7 +206,10 @@
<slf4j.version>2.0.17</slf4j.version>
<snakeyaml.version>2.0</snakeyaml.version>
<snappy-java.version>1.1.10.8</snappy-java.version>
+ <sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.java.binaries>${basedir}/target/classes</sonar.java.binaries>
+ <sonar.organization>apache</sonar.organization>
+ <sonar.projectKey>hadoop-ozone</sonar.projectKey>
<sortpom-maven-plugin.version>3.0.1</sortpom-maven-plugin.version>
<spotbugs.version>3.1.12.2</spotbugs.version>
<spring.version>5.3.39</spring.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org