I installed Maven, Sonar and the respective plugins for .net projects. I am able to build my project using Maven too.
When i run, mvn dotnet:compile
- build success
Similarly, coverage, cpd, clean, package, unpack
succeed too.
But, when i run mvn dotnet:fxcop
and mvn dotnet:metrics
then build fails.
The error message reads -
[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
I am able to analyze project using fxcop and SourceMonitor using fxcop and SourceMonitor tools.
How can i resolve this error? Is this a configuration issue? SHould I make any changes to the pom.xml file?