Adapting to maven