Adding resource filtering to pom.xml fixes #2