Package ru.akman.maven.plugins.jpackage
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.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class ru.akman.maven.plugins.BaseToolMojo
execCmdLine, execCmdLine, getBaseDir, getBuildDir, getCharset, getFileSetManager, getOutputDir, getPluginManager, getProject, getProperties, getSession, getToolchain, getToolchainManager, getToolchains, getToolExecutable, getToolHomeDirectory, getToolJavaVersion, getToolVersion, init
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
JPackageMojo
public JPackageMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionExecute goal.- Throws:
org.apache.maven.plugin.MojoExecutionException
- if any errors occurred
-