Fix failure of Maven invoker