jpacktool:jpacktool-pack-business

Full name:

net.agilhard.maven.plugins:jpacktool-maven-plugin:1.0.0-SNAPSHOT:jpacktool-pack-business

Description:

Package a Business Application started from a Bootstrap Application.

Attributes:

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

Required Parameters

Name Type Since Description
<basePath> String - The Update4j basePath Setting for the Business Application.
<baseUri> String - The update4j baseUri

Optional Parameters

Name Type Since Description
<arguments> List - Command line arguments for the business application to pass to the main class if no arguments are specified by the launcher.

This sets properties in the update4j config to be picked up by the launcher.


<basePathBelowHomeDir> boolean - Flag if the basePath setting is relativ to ${user.home}
Default value is: false.
<basePathBelowUserDir> boolean - Flag if the basePath setting is relativ to ${user.dir}
Default value is: true.
<classpathArtifacts> List - Artifacts that should be explicitly on the classpath
<excludedArtifacts> List - Artifacts that should be excluded
<generateUpdate4jConfig> boolean - Flag whether to generate an update4j config file.
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
<mainClass> String - The main class.
<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.
<verbose> boolean - This will turn on verbose mode.

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


Default value is: false.

Parameter Details

<arguments>

Command line arguments for the business application to pass to the main class if no arguments are specified by the launcher.

This sets properties in the update4j config to be picked up by the launcher.

  • Type: java.util.List
  • Required: No

<basePath>

The Update4j basePath Setting for the Business Application.
  • Type: java.lang.String
  • Required: Yes

<basePathBelowHomeDir>

Flag if the basePath setting is relativ to ${user.home}
  • Type: boolean
  • Required: No
  • Default: false

<basePathBelowUserDir>

Flag if the basePath setting is relativ to ${user.dir}
  • Type: boolean
  • Required: No
  • Default: true

<baseUri>

The update4j baseUri
  • Type: java.lang.String
  • Required: Yes

<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

<generateUpdate4jConfig>

Flag whether to generate an update4j config file.
  • 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

<mainClass>

The main class.
  • Type: java.lang.String
  • Required: No

<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

<verbose>

This will turn on verbose mode.

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

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