Is it possible to run the sonar scan on uncompiled code without using findbugs

226 views
Skip to first unread message

msmro...@gmail.com

unread,
Jun 6, 2018, 7:57:52 AM6/6/18
to SonarQube
Hi team,

When we are running the sona scanner to run the sonar scan on the uncomplied code we are getting the error as findbugs needs source code to be compiled. If there is any way that we can disable the findbugs for just one project. If yes, please suggest how we can use this

I tried using the sonar.findbugs.disable property but it seems it is not working.

I also tried to use the different version of sonar-findbugs-plugin jar as it was mentioned that this is a bug. Still no luck. I tried with v 3.4.4 and 3.4.3

Please suggest some solution as this is critical for us.

Thanks,
Mohit Saraf

G. Ann Campbell

unread,
Jun 7, 2018, 9:42:42 AM6/7/18
to SonarQube
Hi Mohit,

I'm not sure the maintainers of the Findbugs plugin monitor this group, so ordinarily I'd advise you to ask there. However, you won't be able to use SonarJava without bytecode either, so you should just provide the class files, or give up on analyzing the project.


Ann
Reply all
Reply to author
Forward
0 new messages