Refactor root pom.xml