You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "sunjincheng (Jira)" <ji...@apache.org> on 2021/02/24 01:45:00 UTC

[jira] [Assigned] (IOTDB-1157) Fix iotdb-parent: null: MojoExecutionException due to sonar-maven-plugin

     [ https://issues.apache.org/jira/browse/IOTDB-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sunjincheng reassigned IOTDB-1157:
----------------------------------

      Assignee: sunjincheng
    Resolution: Fixed

> Fix iotdb-parent: null: MojoExecutionException due to sonar-maven-plugin
> ------------------------------------------------------------------------
>
>                 Key: IOTDB-1157
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1157
>             Project: Apache IoTDB
>          Issue Type: Sub-task
>          Components: Test
>            Reporter: sunjincheng
>            Assignee: sunjincheng
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-02-16-11-25-10-357.png
>
>
> There are serval time fails during CI checking, the error info as follows:
> {code:java}
> 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.
> {code}
> More detail can be find in [1],[2][3].
> and your can check this by follows cmd:
> {code}
> 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
> {code}
>  [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]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)