Added filtering to the resources - to allow reading pom properties