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
This halts the build with the following exception:
[INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: 'gu' tool wasn't found. This probably means that JDK at isn't a GraalVM distribution.
[INFO] at org.graalvm.buildtools.Utils.getJavaHomeNativeImage (Utils.java:89)
[INFO] at org.graalvm.buildtools.Utils.getNativeImage (Utils.java:121)
[INFO] at org.graalvm.buildtools.maven.NativeExtension.afterProjectsRead (NativeExtension.java:121)
Because this is done so early in an extension, it breaks builds even if no NBT mojo is being invoked.
The check should only be done lazily right before the graalvmJava variable is needed
The text was updated successfully, but these errors were encountered:
#274 introduced an unnecessary eager check for a GraalVM installation:
https://github.com/graalvm/native-build-tools/blob/master/native-maven-plugin/src/main/java/org/graalvm/buildtools/maven/NativeExtension.java#L120-L124
This halts the build with the following exception:
Because this is done so early in an extension, it breaks builds even if no NBT mojo is being invoked.
The check should only be done lazily right before the
graalvmJava
variable is neededThe text was updated successfully, but these errors were encountered: