Package org.tentackle.maven.plugin.jlink
Class JPackageGenerator
java.lang.Object
org.tentackle.maven.AbstractGenerator
org.tentackle.maven.plugin.jlink.JPackageGenerator
Generator for the jpackage tool's options and image's update script.
-
Constructor Summary
ConstructorsConstructorDescriptionJPackageGenerator(JPackageMojo mojo, JLinkResolver.Result result) Creates the generator. -
Method Summary
Modifier and TypeMethodDescriptionvoidGenerates the option files.voidgenerateUpdateScript(File appImageDir) Generates the update script.Methods inherited from class org.tentackle.maven.AbstractGenerator
createFreemarkerConfiguration, getLogger, getTemplateDirectory, setLogger, setTemplateDirectory
-
Constructor Details
-
JPackageGenerator
Creates the generator.- Parameters:
mojo- the jlink mojoresult- the resolver results
-
-
Method Details
-
generateOptions
public void generateOptions() throws org.apache.maven.plugin.MojoExecutionExceptionGenerates 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
-