sonar runner - SonarQube Eclipse doesn't show me issues after a local analysis -
using sonarqube eclipse plugin, run remote analysis [sonar > mode > remote] (localhost:9000 , ip_on_my_lan:9000) , see sonar issues tab elements (everything ok).
but if run local analysis don't have issue on sonar issues tab , eclipse deletes issues marks source code. seems sonar-runner local analysis ok: info - analysis successful
what i'm doing wrong?
i tried with:
eclipse kepler, sonar 3.7, sonarqube plugin 3.0 , 3.2
eclipse juno, sonar 3.7, sonarqube plugin 3.0 , 3.2
thanks time.
i found problem!!!!
i have sources on src/test/java instead of src/main/java (test framework)
if run analysis "sonar-runner.bat" ok, when run local analysis eclipse seems eclipse doesn't found source, doesn't anything...
eclipse put binary code on /target/test-classes/ , think sonar plugin can't found it.
so have 2 options: move source src/main/java (checked) or create new local analysis properties (sonar.binaries)
thanks time!
Comments
Post a Comment