SonarQube - * Version 8.9 (build 43852)
Scanner used from Azure DevOps extension in cli mode
org.sonar.java.AnalysisException: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property.
These files are being picked up from my node_modules folder. However I had added node_modules to my exclusions as shown at the bottom of this.
Other files are indexed:
newProject/node_modules/aws-cdk/lib/init-templates/v1/sample-app/java/src/main/java/com/myorg/%name.PascalCased%App.template.java' indexed with language 'java'
My intention is to exclude all of the node_modules folder, but I cannot figure out why this is so.
I have the following configuration in the azure devops extension, i had to add