Class NativeCompileNoForkMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
DeprecatedNativeBuildMojo, NativeCompileMojo, WriteArgsFileMojo

@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.
  • Field Details

  • Constructor Details

    • NativeCompileNoForkMojo

      public NativeCompileNoForkMojo()
  • Method Details

    • getDependencyScopes

      protected List<String> getDependencyScopes()
      Specified by:
      getDependencyScopes in class AbstractNativeImageMojo
    • execute

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