diff --git a/mvn-defaults/pom.xml b/mvn-defaults/pom.xml
index 605f8d56d..b47ad4ad8 100644
--- a/mvn-defaults/pom.xml
+++ b/mvn-defaults/pom.xml
@@ -546,6 +546,7 @@
21
+ --enable-preview
@@ -556,7 +557,8 @@
org.apache.maven.plugins
maven-surefire-plugin
- -ea @{argLine}
+
+ --enable-preview @{argLine}
org.apache.logging.log4j.core.async.AsyncLoggerContextSelector