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??

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top