Class NativeCompileMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="compile", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, requiresDependencyCollection=RUNTIME) @Execute(phase=PACKAGE) public class NativeCompileMojo extends NativeCompileNoForkMojo
Builds a native executable by forking Maven to the package phase before invoking native-image. It should be invoked from the command line as a single goal (mvn native:compile). §FS-maven-goal-surface.1, §FS-maven-goal-surface.4, §FS-maven-native-image-builds.
  • Constructor Details

    • NativeCompileMojo

      public NativeCompileMojo()