Refactor pom.xml