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.
| Parameter | Required? | Description | Default |
|---|---|---|---|
| version.properties.file | No | the version.properties file to create/update. | ${target.main.classes}/META-INF/version.properties |
| manifest.main.classname | No | If defined, Main-Class and Class-Path attributes are added to produce an executable jar file. | |
| manifest.classpath | No | If 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.revision | No | the revision of the project, used to fill the Specification-Version and Implementation-Version in the manifest | |
| ivy.module | No | the name of the project, used to fill the Specification-Title and Implementation-Title in the manifest | |
| manifest.file | No | the manifest-file to create/update. | ${target}/MANIFEST.MF |
| ivy.organisation | No | the name of the organisation that is the owner of this module, used to fill the Specification-Vendor and Implementation-Vendor in the manifest | |
| version | No | the 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:
- doit