refactoring with maven