Refine pom files for Packaging