【发布时间】:2011-09-16 23:44:22
【问题描述】:
我为 .net 项目安装了 Maven、Sonar 和相应的插件。我也可以使用 Maven 构建我的项目。
当我运行时,mvn dotnet:compile - 构建成功
同样,coverage, cpd, clean, package, unpack 也成功了。
但是,当我运行 mvn dotnet:fxcop 和 mvn dotnet:metrics 时,构建失败。
错误消息显示 -
[ERROR] Failed to execute goal org.codehaus.sonar-plugins.dotnet:maven-dotnet-pl
ugin:0.5:fxcop (default-cli) on project ComplaintManagementSystem: FxCop binarie
s were not found
[ERROR] Failed to execute goal org.codehaus.sonar-plugins.dotnet:maven-dotnet-pl
ugin:0.5:metrics (default-cli) on project ComplaintManagementSystem: SourceMonit
or binaries were not found
我能够使用 fxcop 和 SourceMonitor 工具分析使用 fxcop 和 SourceMonitor 的项目。
我该如何解决这个错误?这是配置问题吗?我应该对 pom.xml 文件进行任何更改吗?
【问题讨论】:
标签: .net maven sonarqube binaries