簡體   English   中英

Maven聲納:聲納無法使用最新的插件版本

[英]Maven sonar:sonar failing using the latest plugin version

我正在嘗試使用org.codehaus.mojo的v2.7.1:sonar-maven-plugin從Maven v3.3.3中運行Sonar,但出現此錯誤:

[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 org.picocontainer.DefaultPicoContainer@e97f51c:205<[Immutable]:org.picocontainer.DefaultPicoContainer@377e90b0:211<[Immutable]:org.picocontainer.DefaultPicoContainer@64921450: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.

任何想法有什么問題嗎?

謝謝

缺口

問題似乎來自Scm Stats插件。 我建議您刪除它(它與SonarQube 5.2不兼容)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM