You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2021/02/16 07:49:51 UTC

[iotdb] branch master updated: [IOTDB-1157] Correct the config of sonar.java.checkstyle.reportPaths (#2685)

This is an automated email from the ASF dual-hosted git repository.

jincheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 50384c8  [IOTDB-1157] Correct the config  of sonar.java.checkstyle.reportPaths (#2685)
50384c8 is described below

commit 50384c8766254b6bbefeb02ce6452096890d72e2
Author: Jincheng Sun <su...@gmail.com>
AuthorDate: Tue Feb 16 15:49:28 2021 +0800

    [IOTDB-1157] Correct the config  of sonar.java.checkstyle.reportPaths (#2685)
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d3c3aa5..21cfca7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,7 +141,7 @@
         <sonar.organization>apache</sonar.organization>
         <!-- Exclude all generated code -->
         <sonar.exclusions>**/generated-sources</sonar.exclusions>
-        <sonar.java.checkstyle.reportPaths>checkstyle.xml</sonar.java.checkstyle.reportPaths>
+        <sonar.java.checkstyle.reportPaths>target/checkstyle-report.xml</sonar.java.checkstyle.reportPaths>
         <sonar.coverage.jacoco.xmlReportPaths>target/jacoco-merged-reports/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
         <sonar.junit.reportPaths>target/surefire-reports,target/failsafe-reports</sonar.junit.reportPaths>
         <!-- By default, the argLine is empty-->
@@ -767,6 +767,7 @@
                             <goal>check</goal>
                         </goals>
                         <configuration>
+                            <outputFile>target/checkstyle-report.xml</outputFile>
                             <configLocation>checkstyle.xml</configLocation>
                         </configuration>
                     </execution>