Refactoring poms