Skip to content

Commit 4f126e5

Browse files
authored
build(deps): org.graalvm.buildtools:native-maven-plugin from 0.10.6 to 0.11.2 (#1346)
1 parent 19d1d1b commit 4f126e5

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
strategy:
7474
matrix:
7575
os: [ ubuntu-latest, windows-latest, macos-latest ]
76-
java: [ '17', '21', '24' ]
76+
java: [ '17', '21', '25' ]
7777
profiles: ['native', 'native,native-exported']
7878
runs-on: ${{ matrix.os }}
7979
steps:

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
<plugin>
332332
<groupId>org.graalvm.buildtools</groupId>
333333
<artifactId>native-maven-plugin</artifactId>
334-
<version>0.10.6</version>
334+
<version>0.11.2</version>
335335
<extensions>true</extensions>
336336
<executions>
337337
<execution>
@@ -346,6 +346,16 @@
346346
<fallback>false</fallback>
347347
<verbose>true</verbose>
348348
<buildArgs>
349+
<!--
350+
Only required for GraalVM for JDK 17.
351+
The option is deprecated in later versions and could cause failures on later GraalVM versions.
352+
-->
353+
<arg>-H:+AllowDeprecatedBuilderClassesOnImageClasspath</arg>
354+
355+
<!--
356+
The initialization flags below seem only necessary for GraalVM for JDK 17 and 21.
357+
If CI checks for either of these GraalVM versions are dropped, this should be cleaned up.
358+
-->
349359
<!-- required to allow junit-pioneer to compile with strict image heap enabled -->
350360
<arg>--initialize-at-build-time=org.junitpioneer.jupiter.issue.IssueExtensionExecutionListener</arg>
351361
<!--
@@ -357,6 +367,8 @@
357367
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceLock</arg>
358368
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceLockTarget</arg>
359369
<arg>--initialize-at-build-time=org.junit.jupiter.api.parallel.ResourceAccessMode</arg>
370+
<arg>--initialize-at-build-time=org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector$1</arg>
371+
<arg>--initialize-at-build-time=org.junit.platform.commons.support.scanning.DefaultClasspathScanner</arg>
360372
</buildArgs>
361373
</configuration>
362374
</plugin>

0 commit comments

Comments
 (0)