refactoring poms