Since we don't have the problem anymore it was likely solved by an upgrade of Jenkins's plugin to maven-invoker-plugin v2.5