refactoring on maven build order