Open
Description
Expected Behavior
graalvm
Maven profile should be active when building native image. micronaut-graal
annotation processor should be run.
Actual Behaviour
Profile is not activated.
Steps To Reproduce
native-image
binary is named native-image.cmd
on Windows:
so, Maven does not activate graalvm
profile:
micronaut-core/parent/build.gradle
Lines 46 to 53 in 7e32263
Maybe activation condition should be changed to checking for presence of ${env.JAVA_HOME}/lib/installer/components/org.graalvm.native-image.component
? This file is present both on Windows and on Linux when native-image
is installed as far as I can see.
Environment Information
- Operation System:
Microsoft Windows NT 10.0.17763.0 (Microsoft Windows Server 2019 Datacenter)
- JDK Version:
GraalVM CE 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05)
Example Application
No response
Version
3.4.1