jpacktool:jpacktool-prepare

Full name:

net.agilhard.maven.plugins:jpacktool-maven-plugin:1.0.0-SNAPSHOT:jpacktool-prepare

Description:

Extended class to prepare execution of the jlink and jpackager goals by analyzing java module dependencies and copying files. This extends the base class by some features for update4j.

Attributes:

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

Required Parameters

Name Type Since Description
<addLinkedSystemJDepsImports> boolean - (no description)
Default value is: true.
<generateAutomaticJdeps> boolean - (no description)
Default value is: true.
<generateClassPathJdeps> boolean - (no description)
Default value is: true.
<generateModuleJdeps> boolean - (no description)
Default value is: true.
<packForBusinessApp> boolean - (no description)
Default value is: false.
<showAllDeps> boolean - (no description)
Default value is: false.

Optional Parameters

Name Type Since Description
<classpathArtifacts> List - Artifacts that should be explicitly on the classpath
<excludedArtifacts> List - Artifacts that should be excluded
<ignoreMissingDeps> boolean - Flag if --ignore-missing-deps should be used on the jdeps calls to analyze module dependencies
Default value is: true.
<jdkToolchain> Map -

Specify the requirements for this jdk toolchain. This overrules the toolchain selected by the maven-toolchain-plugin.

note: requires at least Maven 3.3.1
<skip> boolean - skip plugin execution.
Default value is: false.
<stripConfigName> String - replace this with nothing in the name of the config file
Default value is: -jpacktool.
<useListDeps> boolean - (no description)
Default value is: false.
<verbose> boolean - This will turn on verbose mode.

The jlink/jpackager command line equivalent is: --verbose


Default value is: false.

Parameter Details

<addLinkedSystemJDepsImports>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: true

<classpathArtifacts>

Artifacts that should be explicitly on the classpath
  • Type: java.util.List
  • Required: No

<excludedArtifacts>

Artifacts that should be excluded
  • Type: java.util.List
  • Required: No

<generateAutomaticJdeps>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: true

<generateClassPathJdeps>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: true

<generateModuleJdeps>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: true

<ignoreMissingDeps>

Flag if --ignore-missing-deps should be used on the jdeps calls to analyze module dependencies
  • Type: boolean
  • Required: No
  • Default: true

<jdkToolchain>

Specify the requirements for this jdk toolchain. This overrules the toolchain selected by the maven-toolchain-plugin.

note: requires at least Maven 3.3.1
  • Type: java.util.Map
  • Required: No

<packForBusinessApp>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: false

<showAllDeps>

(no description)
  • Type: boolean
  • Required: Yes
  • Default: false

<skip>

skip plugin execution.
  • Type: boolean
  • Required: No
  • Default: false

<stripConfigName>

replace this with nothing in the name of the config file
  • Type: java.lang.String
  • Required: No
  • Default: -jpacktool

<useListDeps>

(no description)
  • Type: boolean
  • Required: No
  • Default: false

<verbose>

This will turn on verbose mode.

The jlink/jpackager command line equivalent is: --verbose

  • Type: boolean
  • Required: No
  • Default: false