bbh:osgi-version

Full name:

com.basistech:bbh-maven-plugin:1.0.2-SNAPSHOT:osgi-version

Description:

Transform a maven version to an OSGi version, dealing, as needed, with the Basis convention of x.y.z.cXX.Y{-SNAPSHOT}. So, we deal with the following cases: x.y.z(-SNAPSHOT) x.y.z.cXX.Y(-SNAPSHOT) Anything else is an error.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: process-sources.

Optional Parameters

Name Type Since Description
propertyName String - The name of the property to which we're delivering the result.
Default value is: osgi-version.
timestampQualifier boolean - Whether to attach a timestamp as a qualifier to the OSGi version. If this parameter is false, then the qualifier is a timestamp for a snapshot, blank for a release. If this parameter is true, then the qualifier is always filled in with a timestamp.
Default value is: false.

Parameter Details

propertyName:

The name of the property to which we're delivering the result.
  • Type: java.lang.String
  • Required: No
  • Default: osgi-version

timestampQualifier:

Whether to attach a timestamp as a qualifier to the OSGi version. If this parameter is false, then the qualifier is a timestamp for a snapshot, blank for a release. If this parameter is true, then the qualifier is always filled in with a timestamp.
  • Type: boolean
  • Required: No
  • Default: false