Class NativeCompileNoForkMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    DeprecatedNativeBuildMojo, NativeCompileMojo

    @Mojo(name="compile-no-fork",
          defaultPhase=PACKAGE,
          requiresDependencyResolution=RUNTIME,
          requiresDependencyCollection=RUNTIME)
    public class NativeCompileNoForkMojo
    extends AbstractNativeImageMojo
    This goal runs native builds. It functions the same as the native:compile goal, but it does not fork the build, so it is suitable for attaching to the build lifecycle.
    • Constructor Detail

      • NativeCompileNoForkMojo

        public NativeCompileNoForkMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException