Can not execute Findbugs: One (sub)project contains Java source files that are not compiled

Hello
I got the error below and would like to know how to get rid of the ERROR (the java source is there in the module but it will never be compiled as it stands for historical reason)

15:37:22 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project callout: Can not execute Findbugs: One (sub)project contains Java source files that are not compiled (/root/jenkins/workspace/MIS-CO/CallOut/com.scort.callout.help). -> [Help 1]

I’d reccomend reaching out to the maintainers of spotbugs/sonar-findbugs for help with this