Maven and refactoring