maven simple refactoring