Skip to content

Commit

Permalink
chore: update native test maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Dec 27, 2023
1 parent 3f67eca commit 260fd99
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
<asm.version>9.6</asm.version>
<springdoc-openapi.version>2.3.0</springdoc-openapi.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>

<native-image-build-arguments>--enable-url-protocols=jar --strict-image-heap</native-image-build-arguments>
</properties>

<dependencies>
Expand Down Expand Up @@ -224,7 +222,7 @@
<configuration>
<image>
<env>
<BP_NATIVE_IMAGE_BUILD_ARGUMENTS>${native-image-build-arguments}</BP_NATIVE_IMAGE_BUILD_ARGUMENTS>
<BP_NATIVE_IMAGE_BUILD_ARGUMENTS>--enable-url-protocols=jar --strict-image-heap</BP_NATIVE_IMAGE_BUILD_ARGUMENTS>
</env>
</image>
</configuration>
Expand All @@ -239,16 +237,10 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<env>
<BP_NATIVE_IMAGE_BUILD_ARGUMENTS>${native-image-build-arguments}</BP_NATIVE_IMAGE_BUILD_ARGUMENTS>
</env>
</image>
<buildArgs>
<arg>--strict-image-heap</arg>
</buildArgs>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 260fd99

Please sign in to comment.