I'm a bit of a maven purist and I think that src/main/java is for java files only and any resource files should go in src/main/resources
If you still want to do this, instead of whitelisting property files, you should blacklist *.java instead. Also, you don't need to include **/* in your second <resource> as this is the default.