Fix resource filtering so that files end up in the correct place

*.properties files were previously copied under target/classes/src/
instead of target/classes/, which meant that the tests could not locate
them.