Tweaks to pom to avoid warnings