Plugin manifest v0.1


Overview

This module provides manifest generation feature.

Parameters

The following property values can be changed to tune the behavior of this plugin.
Required parameters must be defined upon import, or the build will fail.

ParameterRequired?DescriptionDefault
version.properties.fileNothe version.properties file to create/update.${target.main.classes}/META-INF/version.properties
manifest.main.classnameNoIf defined, Main-Class and Class-Path attributes are added to produce an executable jar file.
manifest.classpathNoIf manifest.main.classname is defined, this will be used for the Class-Path attribute. by default this will be automatically computed from the Ivy dependencies of the target artifact.
ivy.revisionNothe revision of the project, used to fill the Specification-Version and Implementation-Version in the manifest
ivy.moduleNothe name of the project, used to fill the Specification-Title and Implementation-Title in the manifest
manifest.fileNothe manifest-file to create/update.${target}/MANIFEST.MF
ivy.organisationNothe name of the organisation that is the owner of this module, used to fill the Specification-Vendor and Implementation-Vendor in the manifest
versionNothe full version of the project

Build Phases

This plugin adds targets to each of the following build phases:

validate
  • init
prepare-package
  • manifest: generate manifest file
  • manifest-runnable: add manifest attributes required for an executable jar

Extra Targets

This plugin defines some extra Ant targets not attached to any build phase: