Fix build error by mocking out actual maven call.