@@ -232,42 +232,44 @@ publishing.publications.withType(MavenPublication) {
232
232
profile {
233
233
delegate. id(" native" )
234
234
build {
235
- plugins {
236
- plugin {
237
- delegate. groupId(' org.springframework.boot' )
238
- delegate. artifactId(' spring-boot-maven-plugin' )
239
- configuration {
240
- image {
241
- delegate. builder(" paketobuildpacks/builder:tiny" );
242
- env {
243
- delegate. BP_NATIVE_IMAGE (" true" )
235
+ pluginManagement {
236
+ plugins {
237
+ plugin {
238
+ delegate. groupId(' org.springframework.boot' )
239
+ delegate. artifactId(' spring-boot-maven-plugin' )
240
+ configuration {
241
+ image {
242
+ delegate. builder(" paketobuildpacks/builder:tiny" );
243
+ env {
244
+ delegate. BP_NATIVE_IMAGE (" true" )
245
+ }
244
246
}
245
247
}
246
- }
247
- executions {
248
- execution {
249
- delegate . id( ' process-aot ' )
250
- goals {
251
- delegate . goal( ' process-aot ' )
248
+ executions {
249
+ execution {
250
+ delegate . id( ' process-aot ' )
251
+ goals {
252
+ delegate . goal( ' process-aot ' )
253
+ }
252
254
}
253
255
}
254
256
}
255
- }
256
- plugin {
257
- delegate. groupId(' org.graalvm.buildtools' )
258
- delegate. artifactId(' native-maven-plugin' )
259
- configuration {
260
- delegate. classesDirectory(' ${project.build.outputDirectory}' )
261
- metadataRepository {
262
- delegate. enabled(' true' )
257
+ plugin {
258
+ delegate. groupId(' org.graalvm.buildtools' )
259
+ delegate. artifactId(' native-maven-plugin' )
260
+ configuration {
261
+ delegate. classesDirectory(' ${project.build.outputDirectory}' )
262
+ metadataRepository {
263
+ delegate. enabled(' true' )
264
+ }
265
+ delegate. requiredVersion(' 22.3' )
263
266
}
264
- delegate. requiredVersion(' 22.3' )
265
- }
266
- executions {
267
- execution {
268
- delegate. id(' add-reachability-metadata' )
269
- goals {
270
- delegate. goal(' add-reachability-metadata' )
267
+ executions {
268
+ execution {
269
+ delegate. id(' add-reachability-metadata' )
270
+ goals {
271
+ delegate. goal(' add-reachability-metadata' )
272
+ }
271
273
}
272
274
}
273
275
}
0 commit comments