Refactory pom.xml