I am calling Cucumber JVM as part of a maven life cycle using the exec plugin. However, Cucumber seems to use System.exit() when it terminates so it prematurely stops my maven run. This forces me to fork it to a separate process but that presents issues when I am trying to debug a test.
Is there a way to politely ask Cucumber JVM to not use System.exit() when it terminates?