I’m trying to migrate a project to Java 12, with –enable-preview. I added –enable-preview in compiler settings: And also added it in argLine for surefire and failsafe: And do a mvn clean verify results in: I also tried adding argLine directly to surefire/failsafe configuration, but the result is same. What am I missing here? I this a bug in surefire/failsafe?