@@ -135,9 +135,7 @@ publishing.publications.withType(MavenPublication) {
135
135
plugin {
136
136
delegate. groupId(' org.graalvm.buildtools' )
137
137
delegate. artifactId(' native-maven-plugin' )
138
- configuration {
139
- delegate. extensions(' true' )
140
- }
138
+ delegate. extensions(' true' )
141
139
}
142
140
plugin {
143
141
delegate. groupId(' io.github.git-commit-id' )
@@ -233,6 +231,43 @@ publishing.publications.withType(MavenPublication) {
233
231
profiles {
234
232
profile {
235
233
delegate. id(" native" )
234
+ build {
235
+ plugins {
236
+ plugin {
237
+ delegate. groupId(' org.springframework.boot' )
238
+ delegate. artifactId(' spring-boot-maven-plugin' )
239
+ executions {
240
+ execution {
241
+ delegate. id(' process-aot' )
242
+ goals {
243
+ delegate. goal(' process-aot' )
244
+ }
245
+ }
246
+ }
247
+ }
248
+ plugin {
249
+ delegate. groupId(' org.graalvm.buildtools' )
250
+ delegate. artifactId(' native-maven-plugin' )
251
+ configuration {
252
+ delegate. classesDirectory(' ${project.build.outputDirectory}' )
253
+ metadataRepository {
254
+ delegate. enabled(' true' )
255
+ }
256
+ }
257
+ executions {
258
+ execution {
259
+ delegate. id(' native-build' )
260
+ goals {
261
+ delegate. goal(' build' )
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ }
269
+ profile {
270
+ delegate. id(" nativeTest" )
236
271
delegate. dependencies {
237
272
dependency {
238
273
delegate. groupId(' org.junit.platform' )
@@ -246,18 +281,13 @@ publishing.publications.withType(MavenPublication) {
246
281
delegate. groupId(' org.springframework.boot' )
247
282
delegate. artifactId(' spring-boot-maven-plugin' )
248
283
executions {
249
- execution {
250
- delegate. id(' process-aot' )
251
- goals {
252
- delegate. goal(' process-aot' )
253
- }
254
- }
255
284
execution {
256
285
delegate. id(' process-test-aot' )
257
286
goals {
258
287
delegate. goal(' process-test-aot' )
259
288
}
260
- } }
289
+ }
290
+ }
261
291
}
262
292
plugin {
263
293
delegate. groupId(' org.graalvm.buildtools' )
@@ -270,9 +300,9 @@ publishing.publications.withType(MavenPublication) {
270
300
}
271
301
executions {
272
302
execution {
273
- delegate. id(' native-build ' )
303
+ delegate. id(' native-test ' )
274
304
goals {
275
- delegate. goal(' build ' )
305
+ delegate. goal(' test ' )
276
306
}
277
307
}
278
308
}
0 commit comments