Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:eclipse
jelly:tags

jelly:eclipse

Tag NameDescription
updatePluginLibsupdate the Eclipse plugin descriptor with project dependency informations

jelly:tags

Tag NameDescription
adaptVersionAdapt an artifact version to make it match Eclipse plugin expected version : only valid chars will be kept.

Valid values are ones of ([0..9]|\.). Also if the version to adapt contains only two digits, ".0" will appended at the end so that it matches Eclipse Update Manager expectations (3 digits required).

examples :
  • a version such as 1.0-beta-1 will be transformed to 1.0.1
  • a version such as 1.1 (or 1) will be transformed to 1.1.0 (respectively 1.0.0)
  • a SNAPSHOT version will be cut to remove the SNAPSHOT, so 1.1-SNAPSHOT will resolved as 1.1.20040519, where 20040519 is the current date. however this may causes issues in regard to plugin version compatibility concerns
  • invalid version such as 1.0..1 (or 1.1.) will be transformed to 1.0.1 (respectively, 1.1.0)
findLicenseThis class has been copied from maven-nbm-plugin. It is the more straightforward way to reuse the code, however we should see in which way it is possible to extract java classes in some abstract plugin library shared by those maven-[ide-plugin]-plugin.

Tags

[tag libraries] [tags]

eclipse:updatePluginLibs

update the Eclipse plugin descriptor with project dependency informations

Attribute NameTypeDescription
pomProjectthe project descriptor of the Eclipse plugin under construction
trimboolean

tags:adaptVersion

Adapt an artifact version to make it match Eclipse plugin expected version : only valid chars will be kept.

Valid values are ones of ([0..9]|\.). Also if the version to adapt contains only two digits, ".0" will appended at the end so that it matches Eclipse Update Manager expectations (3 digits required).

examples :

  • a version such as 1.0-beta-1 will be transformed to 1.0.1
  • a version such as 1.1 (or 1) will be transformed to 1.1.0 (respectively 1.0.0)
  • a SNAPSHOT version will be cut to remove the SNAPSHOT, so 1.1-SNAPSHOT will resolved as 1.1.20040519, where 20040519 is the current date. however this may causes issues in regard to plugin version compatibility concerns
  • invalid version such as 1.0..1 (or 1.1.) will be transformed to 1.0.1 (respectively, 1.1.0)

Attribute NameTypeDescription
trimboolean
varStringthe name under which the adapted version will be put in the jelly context
versionStringthe version to adapt

tags:findLicense

This class has been copied from maven-nbm-plugin. It is the more straightforward way to reuse the code, however we should see in which way it is possible to extract java classes in some abstract plugin library shared by those maven-[ide-plugin]-plugin.

Attribute NameTypeDescription
jarFileFileSetter for property jarFile.
trimboolean
varString