Class JPackageGenerator

java.lang.Object
org.tentackle.maven.AbstractGenerator
org.tentackle.maven.plugin.jlink.JPackageGenerator

public class JPackageGenerator extends org.tentackle.maven.AbstractGenerator
Generator for the jpackage tool's options and image's update script.
  • Constructor Details

    • JPackageGenerator

      public JPackageGenerator(JPackageMojo mojo, JLinkResolver.Result result)
      Creates the generator.
      Parameters:
      mojo - the jlink mojo
      result - the resolver results
  • Method Details

    • generateOptions

      public void generateOptions() throws org.apache.maven.plugin.MojoExecutionException
      Generates the option files.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if I/O or template error
    • generateUpdateScript

      public void generateUpdateScript(File appImageDir) throws org.apache.maven.plugin.MojoExecutionException
      Generates the update script.
      Parameters:
      appImageDir - the application image directory
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if I/O or template error