summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pom.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 612f703b..7b0f25e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,17 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
+ <configuration>
+ <argLine>--enable-preview</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.10.1</version>
+ <configuration>
+ <release>20</release>
+ <compilerArgs>--enable-preview</compilerArgs>
+ </configuration>
</plugin>
</plugins>
</build>