diff --git a/pom.xml b/pom.xml
index da2a0b6..250ab79 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,6 @@
UTF-8
0-SNAPSHOT
- --enable-preview --add-modules jdk.incubator.foreign -Dforeign.restricted=permit --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
@@ -473,7 +472,13 @@
io.soabase.recordbuilder.processor.RecordBuilderProcessor
false
- ${jvm.options}
+
+ --enable-preview
+ --add-modules
+ jdk.incubator.foreign
+ -Dforeign.restricted=permit
+ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
+
@@ -506,7 +511,7 @@
- ${jvm.options}
+ --enable-preview --add-modules jdk.incubator.foreign -Dforeign.restricted=permit --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED