osgi-dp:build

Full name:

de.dentrassi.maven:osgi-dp:0.4.1:build

Description:

Build an OSGi distribution package based on the existing project

This mojo allows building an OSGi DP based on the main artifact, optional Tycho feature dependencies and additional dependencies.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Requires dependency collection of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
additionalDependencies Dependency[] - Additional dependencies to package
attach boolean - Whether or not the resulting DP should be attached to the project output
Default value is: true.
skip boolean - Skip the generation of the DP
Default value is: false.
User property is: osgi-dp.skip.
useQualifiedFilename boolean - Whether or not to use a qualified target filename

By default the project version will be used as filename. If this property is set to true then the qualified OSGi version will be used.


Default value is: false.
version String - An optional explicit version

Note: This version must be a valid OSGi version

By default the version of the project will be used. The -SNAPSHOT suffix will be replaced by the current timestamp.


User property is: version.

Parameter Details

additionalDependencies:

Additional dependencies to package
  • Type: org.apache.maven.model.Dependency[]
  • Required: No

attach:

Whether or not the resulting DP should be attached to the project output
  • Type: boolean
  • Required: No
  • Default: true

skip:

Skip the generation of the DP
  • Type: boolean
  • Required: No
  • User Property: osgi-dp.skip
  • Default: false

useQualifiedFilename:

Whether or not to use a qualified target filename

By default the project version will be used as filename. If this property is set to true then the qualified OSGi version will be used.

  • Type: boolean
  • Required: No
  • Default: false

version:

An optional explicit version

Note: This version must be a valid OSGi version

By default the version of the project will be used. The -SNAPSHOT suffix will be replaced by the current timestamp.

  • Type: java.lang.String
  • Required: No
  • User Property: version