i am using sonar-scanner, what does sonar.java.binaries mean? is it project build binaries or sonar biniaries???
If it is a project build,that means we are using if post build, then what about pre-check conditions.
There’s some good explanation about Java analysis and the need for bytecode right here: https://docs.sonarqube.org/display/PLUG/SonarJava (especially section Java bytecode is required).
By all means it’s a must that SonarQube analysis runs after compilation. That is irrespective of the language analyzed in fact, as there’s little point in doing static code analysis if the code doesn’t even build (or tests don’t pass).