Refactoring poms.xml