Welcome
Don’t hijack threads two years old, better create a new one
When using the latest version of the sonar-maven plugin = 3.10 the default sources include is src/main, means src/main/resources should also automatically be included.
src/main
src/main/resources
see this thread for further details
Gilbert