jar-module:jlink

Full name:

com.mt-ag.tools.maven:jar-module-maven-plugin:1.1:jlink

Description:

Implements the goal jlink. Jlink calls the jlink command. Before it is done, it copies all needed jar to the module dir. Than it tests if the jars are automatic modules, if so it generates the module-info and adds it to the jar.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
<compress> CompressEnum - The compress Enable compression of resources: NoCompression = 0 ConstantStringSharing = 1 ZIP = 2.
Default value is: ZIP.
<createmissing> boolean - Maven parameter to set if it generates the missing classes in a missing module that will be static linked to your app. So the dependency is only for compile time not for runtime.
<ignoreSigning> boolean - Ignore the signing information in the jars.
Default value is: true.
<launcherList> List - The launchers for the image. A launcher is the name=module(/main-class)
User property is: launcher.
<noHeaderFiles> boolean - Don't add header files.
Default value is: true.
<noManPages> boolean - Don't add man pages.
Default value is: true.
<openmodule> boolean - Maven parameter to set if it generates an open module or a standard module.
<stripDebug> boolean - Strip debug. Remove debug infos.

Parameter Details

<compress>

The compress Enable compression of resources: NoCompression = 0 ConstantStringSharing = 1 ZIP = 2.
  • Type: com.mt_ag.jar.module.CompressEnum
  • Required: No
  • Default: ZIP

<createmissing>

Maven parameter to set if it generates the missing classes in a missing module that will be static linked to your app. So the dependency is only for compile time not for runtime.
  • Type: boolean
  • Required: No

<ignoreSigning>

Ignore the signing information in the jars.
  • Type: boolean
  • Required: No
  • Default: true

<launcherList>

The launchers for the image. A launcher is the name=module(/main-class)
  • Type: java.util.List
  • Required: No
  • User Property: launcher

<noHeaderFiles>

Don't add header files.
  • Type: boolean
  • Required: No
  • Default: true

<noManPages>

Don't add man pages.
  • Type: boolean
  • Required: No
  • Default: true

<openmodule>

Maven parameter to set if it generates an open module or a standard module.
  • Type: boolean
  • Required: No

<stripDebug>

Strip debug. Remove debug infos.
  • Type: boolean
  • Required: No