Refactoring of pom.xml file