Hello,
Today, we started seeing this error when scanning Java Maven projects, using the maven sonar plugin: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property.
Perhaps something is broken in the scanner, since this suddenly happens without any seemingly related code/configuration changes in our codebase?
EDIT: happens with at least sonar-maven-plugin versions: 5.5.0.6356 and 3.10.0.2594on Java 21.
Regards,
Jukka