Overview

This document describes the tags that are available when using the Maven Uberdist Plug-in.

Tags

NameDescription
uber-dist:copyScriptsCopies launch scripts to a specified directory
uber-dist:registerProjectAdd a project to the distribution list to be built.
uber-dist:deregisterProjectRemoves a project from the distribution list to build

uber-dist:copyScripts

Copies launch scripts to a specified directory.

The files located in directory with matching pattern as described by property maven.uber.dist.launch.scripts are copied using Ant filtering mechanism with default @artifact_id@ token replaced by the current's project artifact id.

The default value for the file pattern is: *.sh,*.cmd,*.bat

Attribute NameDescriptionOptional?
scriptsDirectoryThe path to the destination directory under the distribution assembly rootNo

uber-dist:registerProject

Register a project with uberdist plugin to get the complex distribution built.

NOTE: It is necessary to use this tag before calling any distribution goal so that

the plugin will be able to call the custom file copy goal in your project.

Attribute NameDescriptionOptional?
nameThe name of the distribution to build. No

uber-dist:deregisterProject

Removes a project from the list of distribution to be built.

Attribute NameDescriptionOptional?
nameThe name of the distribution to remove from build listNo