SonarQube looking for class files

Hello Team,

I’m using SonarQube 9.9v.

I have my code with different modules and uses maven to build.
Out of 3 modules only 1 modules has java files which generates class files and we have no issues with it but the other modules has no java files and hence no class files are generated in target folder hence sonarqube throws the below error:
Sonar JavaResourceLocator.classFilesToAnalyze was empty

But I would like to scan all the files, please suggest on this behavior can be corrected.

Thank you!!

Hey there.

This error message is coming from GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube – I suggest raising an issue with the maintainer.

Sure Colin, Thank you!