Class JPackageMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
ru.akman.maven.plugins.BaseToolMojo
ru.akman.maven.plugins.jpackage.JPackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="jpackage", requiresDependencyResolution=RUNTIME) public class JPackageMojo extends BaseToolMojo
The jpackage goal lets you create a custom runtime image with the jpackage tool introduced in Java 13.

The main idea is to avoid being tied to project artifacts and allow the user to fully control the process of creating an image.

  • Constructor Details

    • JPackageMojo

      public JPackageMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Execute goal.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if any errors occurred