maven build refactoring.