Skip to content

Commit 804ddfa

Browse files
committed
pom: Enable preview features on build
1 parent 3d3c850 commit 804ddfa

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pom.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,16 @@
213213
</execution>
214214
</executions>
215215
</plugin>
216-
216+
<plugin>
217+
<groupId>org.apache.maven.plugins</groupId>
218+
<artifactId>maven-compiler-plugin</artifactId>
219+
<version>3.11.0</version>
220+
<configuration>
221+
<compilerArgs>
222+
<arg>--enable-preview</arg>
223+
</compilerArgs>
224+
</configuration>
225+
</plugin>
217226
</plugins>
218227

219228
<resources>

0 commit comments

Comments
 (0)