You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since release 0.9.12, the plugin adds experimental support for the https://github.com/oracle/graalvm-reachability-metadata/[GraalVM reachability metadata repository].
595
+
Since release 0.9.12, the plugin adds support for the https://github.com/oracle/graalvm-reachability-metadata/[GraalVM reachability metadata repository].
599
596
This repository provides https://www.graalvm.org/22.2/reference-manual/native-image/ReachabilityMetadata/[reachability metadata] for libraries that do not support GraalVM Native Image.
600
597
601
598
=== Enabling the metadata repository
602
599
603
-
Support needs to be enabled explicitly:
600
+
Support needs to be enabled explicitly by including the following into the `<configuration>` element:
<1> The local path can point to an _exploded_ directory, or to a compressed ZIP file.
624
+
620
625
=== Configuring the metadata repository
621
626
622
-
Once activated, for each library included in the native image, the plugin will automatically search for GraalVM reachability metadata in the repository.
627
+
Once activated, for each library included in the native image, the plugin will automatically search for GraalVM reachability metadata in the repository that was released together with the plugin.
628
+
In case you want to use another verion of the metadata use:
Copy file name to clipboardExpand all lines: native-maven-plugin/src/functionalTest/groovy/org/graalvm/buildtools/maven/OfficialMetadataRepositoryFunctionalTest.groovy
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,4 +58,21 @@ class OfficialMetadataRepositoryFunctionalTest extends AbstractGraalVMMavenFunct
58
58
and: "finds metadata in the remote repository"
59
59
outputContains "[graalvm reachability metadata repository for com.h2database:h2:2.1.210]: Configuration directory is com.h2database/h2/2.1.210"
60
60
}
61
+
62
+
void"the application runs when using the versioned official metadata repository"() {
0 commit comments