【问题标题】:Issues in sonar analysis through Maven of php projectphp项目Maven通过maven进行声纳分析的问题
【发布时间】:2013-01-29 02:27:28
【问题描述】:

我正在尝试通过一个php项目的maven进行声纳分析。

我已经按照http://docs.codehaus.org/display/SONAR/PHP+Plugin 中提到的所有说明进行操作,完成了所有必要的设置和提到的更改。

从项目目录执行命令 mvn sonar:sonar 后,我收到以下错误消息。

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (d
        efault-cli) on project espritKM: Can not execute Sonar: PHPMD execution failed w
        ith returned code '255'. Please check the documentation of PHPMD to know more ab
        out this failure. -> [Help 1]

【问题讨论】:

    标签: sonarqube


    【解决方案1】:

    在这种情况下,您应该在调试模式下运行分析(即使用“-X”),以便找到启动了哪个确切的 PHPMD 命令,然后在 shell 中手动运行它以查看发生了什么。

    【讨论】:

      猜你喜欢
      • 2023-03-03
      • 1970-01-01
      • 2011-03-02
      • 1970-01-01
      • 1970-01-01
      • 2018-06-04
      • 2016-09-21
      • 2013-03-21
      • 2014-05-23
      相关资源
      最近更新 更多