Native Image
This distribution type has been deprecated in v1.4.0 and will be removed in v2.0.0 .
Use Binary instead. You must add an extraProperty named graalVMNativeImage to the artifact.
|
Distributions of this type provide a platform specific native binary, as a consequence you must specify a platform value for each one of their artifacts.
Distributions of this type conform to the following file structure:
.
├── LICENSE
├── README
└── bin
└── executable
Creating a Distribution
Native image binaries can be created in many ways. Frameworks such as Micronaut, Quarkus, and Helidon provide Maven and
Gradle plugins that can create such binaries. The distribution should be packages as a Zip or Tar. The archive must
contain a root entry, typically following the name of the archive, thus if the archive is named app-1.2.3.zip
the root
entry should be app-1.2.3
.
-
maven-assembly-plugin: packages the distribution as a Zip.
-
distribution plugin: packages a distribution as a Zip.
Alternatively, you may also configure a Native Image assembler.