Package org.tentackle.maven.plugin.jlink
Class JLinkGenerator
java.lang.Object
org.tentackle.buildsupport.codegen.AbstractGenerator
org.tentackle.maven.plugin.jlink.JLinkGenerator
public class JLinkGenerator
extends org.tentackle.buildsupport.codegen.AbstractGenerator
Generator for the jlink image's run and update scripts.
-
Constructor Summary
ConstructorsConstructorDescriptionJLinkGenerator
(JLinkMojo mojo, JLinkResolver.Result result) Creates the generator. -
Method Summary
Methods inherited from class org.tentackle.buildsupport.codegen.AbstractGenerator
createFreemarkerConfiguration, getTemplateDirectory, setTemplateDirectory
-
Constructor Details
-
JLinkGenerator
Creates the generator.- Parameters:
mojo
- the jlink mojoresult
- the resolver results
-
-
Method Details
-
generateScripts
public void generateScripts() throws org.apache.maven.plugin.MojoExecutionExceptionGenerates the scripts.- Throws:
org.apache.maven.plugin.MojoExecutionException
- if I/O or template error
-