嵌入式错误:分析c#项目时

时间:2012-12-14 05:14:24

标签: sonarqube

在分析c项目时,我遇到了嵌入式错误。  请帮我解决这个问题。

这是我的日志文件数据。

 [INFO] [10:34:52.875] Inside Core CppPlugin.getExtension()
 [INFO] [10:34:53.140] Selected quality profile : [name=Sonar C# Way,language=cs]

 [INFO] [10:34:53.203] Configure maven plugins...
 [INFO] [10:34:53.250] Compare to previous analysis
 [INFO] [10:34:53.296] Compare over 5 days (2012-12-09)
 [INFO] [10:34:53.296] Compare over 30 days (2012-11-14)
 [INFO] ------------------------------------------------------------------------
 [ERROR] BUILD ERROR
 [INFO] ------------------------------------------------------------------------
 [INFO] Can not execute Sonar

 Embedded error: org.sonar.plugin.dotnet.coverity.CoveritySensor has unsatisfied
 dependency 'class org.sonar.plugins.csharp.api.MicrosoftWindowsEnvironment' for
 constructor 'public org.sonar.plugin.dotnet.coverity.CoveritySensor(org.sonar.ap
 i.resources.ProjectFileSystem,org.sonar.api.profiles.RulesProfile,org.sonar.plug
 in.dotnet.coverity.CoverityProfileExporter,org.sonar.plugin.dotnet.coverity.Cove
 rityResultParser,org.sonar.plugins.csharp.api.CSharpConfiguration,org.sonar.plug
 ins.csharp.api.MicrosoftWindowsEnvironment)' from org.picocontainer.DefaultPicoC
 ontainer@1f541ef:178<[Immutable]:org.picocontainer.DefaultPicoContainer@b38dba:2
 42<[Immutable]:org.picocontainer.DefaultPicoContainer@2a7640:47<|
 [INFO] ------------------------------------------------------------------------
 [INFO] For more information, run Maven with the -e switch
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 36 seconds
 [INFO] Finished at: Fri Dec 14 10:34:53 IST 2012
 [INFO] Final Memory: 19M/38M
 [INFO] ------------------------------------------------------------------------

先谢谢。

1 个答案:

答案 0 :(得分:1)

我不知道你在哪里获得了这个“Sonar Coverity”插件(它不是Sonar Plugins Forge的一部分),但看起来你在没有安装.NET的情况下尝试使用这个插件&安培; C#plugins呢......