If I’ve not misunderstood, SonarqubeScanner for Maven analyze only *.java et *.xml files by default.
Also, it analyze all the files located in the project, filtering them by the previous mentioned types.
To analyze other types of files, like *.sql for example, we have to override default sourcePath properties.
I don’t understand the logic here. Overriding the sourcePath properties have a lot more impact than just be able to analyze all kinds of files.
Why there isn’t a property like “sonar.files.type” to be able to just override the kind of files to analyze without changing the sourcePath behaviour ?