Refactor maven