Maven、Sonar、および.netプロジェクト用のそれぞれのプラグインをインストールしました。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ファイルに変更を加える必要がありますか?