2013-02-13 38 views
0

我正在尝试通过maven的php项目进行声呐分析。通过Maven的php项目进行声呐分析中的问题

我已经按照http://docs.codehaus.org/display/SONAR/PHP+Plugin上提到的所有说明去做了,已经做了所有必要的设置和修改。

执行mvn 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] 

回答

0

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