Parameters Reference

A list of all supported parameters of the Packager plugin

The list of parameters

sourcePackage Parameter

Indicates Packager to generate a source code package from all files in src/mail/java.

Example:

    <sourcePackage>true</sourcePackage>

runnablePackage Parameter

Indicates Packager to generate an runnable Jar code package.

Example:

    <runnablePackage>true</runnablePackage>

distributionPackage Parameter

Indicates Packager to generate an distribution package.

Example:

    <distributionPackage>true</distributionPackage>

packageFileName Parameter

The file name for the zip package file to be created.

By convention when ommited it will become:

  • "${artifactId}-source.zip" for source code packages.
  • "${artifactId}-runnable.zip" for executable packages.

For custom packages this parameter is mandatory.

Example:

    <packageFileName>theZipFileName.zip</packageFileName>

packageFileName Parameter

The directory where the package file will be created. Defaults to the target directory.

Example:

    <outputDirectory>target/somedir/des</outputDirectory>

files Parameter

A set of files and directories to be added to the custom package.

This parameter will be ignored for conventioned source code or executable packages.

Example:

    <files>
      <param>File1.txt</param>
      <param>SomeDirectory/subDirectory</param>
    </files>