Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1153 Make some small improvements(Small is beautiful,Small is powerful)
  3. IOTDB-1157

Fix iotdb-parent: null: MojoExecutionException due to sonar-maven-plugin

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • CI

    Description

      There are serval time fails during CI checking, the error info as follows:

      Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project iotdb-parent: null: MojoExecutionException: NullPointerException -> [Help 1]
      Error:  
      Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
      Error:  Re-run Maven using the -X switch to enable full debug logging.
      Error:  
      Error:  For more information about the errors and possible solutions, please read the following articles:
      Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      Error: Process completed with exit code 1.
      

      More detail can be find in [1],[2][3].

      and your can check this by follows cmd:

      mvn -B verify sonar:sonar \
        -Dsonar.organization=apache \
        -Dsonar.projectKey=apache_incubator-iotdb \
        -Dsonar.host.url=https://sonarcloud.io \
        -Dsonar.login= \
        -DskipTests -pl '!distribution' -am
      

      [1] https://github.com/apache/iotdb/pull/2677/checks?check_run_id=1892946112
      [2] https://github.com/apache/iotdb/pull/2684/checks?check_run_id=1904610103

      [3]https://github.com/apache/iotdb/pull/2667/checks?check_run_id=1863611951

       

      Attachments

        Activity

          People

            sunjincheng121 sunjincheng
            sunjincheng121 sunjincheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: