Migrate the cucumber.options property

MSAL

Cucumber-JVM 6.0.0 removed cucumber.options, which passed command line options as a single string, in favour of an individual property per option. This recipe splits the property into its replacements, both in .properties files and in Maven Surefire or Failsafe systemPropertyVariables. Options without a property equivalent, such as --threads, have no migration path; there the property is left untouched, with a TODO comment added above it.

org.openrewrite.cucumber.jvm.CucumberOptionsPropertyToIndividualProperties
mod run . --recipe=org.openrewrite.cucumber.jvm.CucumberOptionsPropertyToIndividualProperties

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.