Question

Since sonar is a static coda analyzer, when we need to specify binaries. It is not going to compile and build .class by itself.

What if I ran a latest source with an old binary??

Was it helpful?

Solution

Unless you're using the Maven plugin, Sonar will not understand how to compile your code, so it's up to you to ensure that sonar is run against fresh binaries.

It's Findbugs that requires access to the compiled class files and dependency jars, in order to complete it's analysis.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top