2015-11-05 106 views
1

我试图从Maven v3.3.3内使用org.codehaus.mojo的v2.7.1来运行声呐:sonar-maven-plugin,但是我得到了这个错误:Maven声呐:声呐未能使用最新的插件版本

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project mio-tbc: org.sonar.plugins.scmstats.MavenScmConfiguration has unsatisfied dependency 'class org.apache.maven.project.MavenProject' for constructor 'public org.sonar.plugins.scmstats.MavenScmConfiguration(org.apache.maven.project.MavenProject)' from [email protected]:205<[Immutable]:[email protected]:211<[Immutable]:[email protected]:36<| -> [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. 

任何想法有什么不对?

感谢

尼克

回答

4

这个问题似乎来自于SCM统计插件。我建议你删除它(它与SonarQube 5.2不兼容)。

+0

是的,这是问题。我不能够感谢你! – nickcodefresh