refactor maven build