Class JPacktoolJPackagerMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractPackageToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.jpackager.JPackagerMojo
net.agilhard.maven.plugins.jpacktool.extend.mojo.JPacktoolJPackagerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

@Mojo(name="jpackager",
      requiresDependencyResolution=RUNTIME,
      defaultPhase=PACKAGE,
      requiresProject=true)
public class JPacktoolJPackagerMojo
extends net.agilhard.maven.plugins.jpacktool.base.mojo.jpackager.JPackagerMojo
The JPackager goal can create a native installer packages based on http://openjdk.java.net/jeps/343.
Author:
Bernd Eilers
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo

    net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo.TemplateGenerator
  • Field Summary

    Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.jpackager.JPackagerMojo

    appImage, appVersion, buildRootPackage, category, copyArtifacts, copyright, description, fileAssociations, files, icon, identifier, inputDirectoryPackage, installDir, lastException, licenseFile, mainClass, mainJar, module, moduleTempDirectory, name, outputDirectoryPackage, packageType, resourceDir, runtimeImage, secondaryLauncher, skipModulesInclude, usingJDK11Jpackager, vendor

    Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractPackageToolMojo

    addJDKToLimitModules, addModules, arguments, automaticModulesFolderName, buildContext, classPathFolderName, context, dependencyGraphBuilder, finalName, ignoreAutomaticModules, JMODS, jPacktoolMoveAutomaticModules, jPacktoolMoveClassPathJars, jPacktoolMoveRealModules, jpacktoolPrepareUsed, jvmArgs, limitModules, mavenFileFilter, mavenResourcesFiltering, modulePaths, modulesFolderName, modulesToAdd, outputDirectory, packagingResources, pathsOfArtifacts, pathsOfModules, sourceJdkModules, unfilteredDependencyHandling

    Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo

    outputDirectoyTemplates, templateGenerator

    Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo

    buildDirectory, classpathArtifacts, excludedArtifacts, javaVersion, jdkToolchain, jpacktoolModel, jpacktoolPropertyPrefix, locationManager, mavenProjectHelper, outputDirectoryAutomaticJars, outputDirectoryClasspathJars, outputDirectoryJPacktool, outputDirectoryModules, project, session, shouldSkipReason, skip, systemModules, templateMap, toolchainManager, verbose, zipArchiver

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors 
    Constructor Description
    JPacktoolJPackagerMojo()  
  • Method Summary

    Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.jpackager.JPackagerMojo

    checkShouldSkip, copyArtifactsToModuleTempDirectory, createJPackageCommandLine, createJPackagerCommandLine, executeResources, executeToolMain, failIfParametersAreNotValid, findPackageFile, generateContent, getExecutable, getJPackageExecutable, getJPackagerExecutable, ifBuildRootDirectoryDoesNotExistcreateIt, ifModuleTempDirectoryDoesNotExistCreateIt, ifOutputDirectoryExistsDeleteIt, isUsingJDK11Jpackager, maySetPlatformDefaultType, moveJarToInputAutomatic, moveJarToInputClasspath, moveJarToInputModule, moveJPacktoolJars, publishPackageArtifacts, updateJvmArgs

    Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractPackageToolMojo

    addSystemModulesFromJPackToolPrepare, addSystemModulesToLimitModules, addToLimitModules, appendOrCreateJvmArgPath, checkJpacktoolPrepareUsed, contextualize, convertSeparatedModulePathToPlatformSeparatedModulePath, executeResources, failIfProjectHasAlreadySetAnArtifact, generateContent, getAddModules, getArguments, getAutomaticModulesFolderName, getBuildContext, getBuildDirectory, getClassPathFolderName, getCommaSeparatedList, getCompileClasspathElements, getContext, getDependenciesToLink, getFinalName, getJpacktoolModel, getJvmArgs, getLimitModules, getMavenFileFilter, getMavenResourcesFiltering, getModulePathElements, getModulePaths, getModulesFolderName, getModulesToAdd, getOutputDirectory, getOutputDirectoyTemplates, getPackagingResources, getPathSeparatedList, getPathsOfArtifacts, getPathsOfModules, getPlatformDependSeparateList, getZipArchiver, hasLimitModules, initJPacktoolModel, isAddJDKToLimitModules, isIgnoreAutomaticModules, isjPacktoolMoveAutomaticModules, isjPacktoolMoveClassPathJars, isjPacktoolMoveRealModules, isJpacktoolPrepareUsed, prepareModules, prepareModules, projectHasAlreadySetAnArtifact, resolveAndCreate, updateJvmArgs, updateModel

    Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo

    generateFromTemplate, getTemplateGenerator, getTemplateMap, initTemplate, initTemplates, loadResourceFileIntoString

    Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo

    bytesToHex, createZipArchiveFromDirectory, execute, executeCommand, executeToolFinish, executeToolStart, getArtifactFile, getClasspathArtifacts, getExcludedArtifacts, getJavaVersion, getJdkToolchain, getJpacktoolPropertyPrefix, getLocationManager, getOutputDirectoryAutomaticJars, getOutputDirectoryClasspathJars, getOutputDirectoryJPacktool, getOutputDirectoryModules, getPluginVersion, getProject, getSession, getShouldSkipReason, getSystemModules, getToolchain, getToolchainManager, getToolExecutable, hasClassifier, isVerbose, publishJPacktoolProperties, publishSHA256, setShouldSkipReason

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait