This repository was archived by the owner on Oct 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed
Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 102102 </exclude >
103103 </excludes >
104104 <image >
105- <!-- The image name to build -->
106105 <name >noobdevsam/${project.artifactId} :${project.version} </name >
107- <!-- Use the Paketo Tiny builder for smaller native images -->
108106 <builder >paketobuildpacks/builder-jammy-tiny</builder >
109- <!-- Environment variables for the buildpack -->
110107 <env >
111108 <!-- Configure the buildpack to use Java 25 -->
112- <BP_NATIVE_IMAGE >true</BP_NATIVE_IMAGE >
113109 <BP_JVM_VERSION >${java.version} </BP_JVM_VERSION >
114110 </env >
115111 </image >
136132 </configuration >
137133 </plugin >
138134
139- <plugin >
140- <groupId >org.graalvm.buildtools</groupId >
141- <artifactId >native-maven-plugin</artifactId >
142- <configuration >
143- <buildArgs >
144- <!-- Enable AWT support (needed for BufferedImage, ImageIO) -->
145- <buildArg >-H:Features=org.graalvm.home.HomeFinderFeature</buildArg >
146- <buildArg >--enable-url-protocols=http,https</buildArg >
147- <!-- Include security services needed for AES and PBKDF2 -->
148- <buildArg >--initialize-at-build-time=org.springframework.util.MimeTypeUtils</buildArg >
149- </buildArgs >
150- </configuration >
151- </plugin >
135+ <!--
136+ Enable this only if local native image support is needed. Use Liberica NIK JDK for building native image locally.
137+ -->
138+ <!-- <plugin>-->
139+ <!-- <groupId>org.graalvm.buildtools</groupId>-->
140+ <!-- <artifactId>native-maven-plugin</artifactId>-->
141+ <!-- </plugin>-->
152142
153143 </plugins >
154144 </build >
You can’t perform that action at this time.
0 commit comments