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

SonarQube version 8.6.0.39681
SonarScanner 4.6.0.2311
Is this possible ?

I use the following settings in my sonar properties file:

sonar.exclusions=OrcaUplDnldFinanceDocumentsBeanJavaWrappers/**

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

WARN: Unable to find the class com.oracle.retail.apps.orca.upldnldfinancedocuments.bean.types.XPTO

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.

Colin

Any sub-topic here about findbugs plugin only?