Update pom.xml

This commit is contained in:
Oleg Zhurakousky
2023-11-06 10:07:18 +01:00
committed by GitHub
parent 394644eebd
commit 1489d4601e

View File

@@ -79,7 +79,7 @@
<!-- <version>${native.buildtools.version}</version>--> <!-- <version>${native.buildtools.version}</version>-->
<configuration> <configuration>
<buildArgs> <buildArgs>
<buildArg>--enable-url-protocols=http</buildArg> <buildArg>--enable-url-protocols=http --enable-preview</buildArg>
</buildArgs> </buildArgs>
</configuration> </configuration>
<executions> <executions>
@@ -127,6 +127,12 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>-agentlib:native-image-agent=config-merge-dir=src/main/resources/META-INF/native-image/ --enable-preview
</jvmArguments>
<compilerArguments>--enable-preview
</compilerArguments>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>