Sonar - Exclude source from report but include in analysis?!?

SonarQube version
Is this possible ?

I use the following settings in my sonar properties file:


But I want to use that code for sonnar analysis. I get the following warning in sonar execution:

WARN: Unable to find the class

This class is included in the excluded folder.

Any way to achieve this?

Hey there.

Such a warning is coming from the spotbugs/sonar-findbugs plugin. You’ll need to ask them.


Any sub-topic here about findbugs plugin only?