Fix pod file processing in pom.xml

Fixes #5 (and replaces #7)