osgi-dp:bundle

Full name:

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

Description:

Build this project as an OSGi distribution package.

This project takes the main attachment and the dependencies of this project and builds an OSGi DP from it. By default only direct compile and runtime dependencies will be added to the package. All extra dependencies will be included.

Attributes:

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

Optional Parameters

Name Type Since Description
additionalDependencies Dependency[] 0.4.0 Additional dependencies to package
attach boolean 0.4.0 Whether or not the resulting DP should be attached to the project output.
Default value is: true.
failOnMissingMainArtifact boolean 0.4.0 Whether or not to fail if the main artifact is missing
Default value is: true.
ignoreProjectDependecies boolean 0.4.0 Allows to ignore the project dependencies and only use the extra dependencies.
Default value is: false.
includedScopes Set 0.4.0 The set of scopes for dependencies which will be included in the DP
Default value is: compile,runtime.
skip boolean 0.4.0 Skip the generation of the DP
Default value is: false.
User property is: osgi-dp.skip.
useQualifiedFilename boolean 0.4.0 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 0.4.0 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[]
  • Since: 0.4.0
  • Required: No

attach:

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

failOnMissingMainArtifact:

Whether or not to fail if the main artifact is missing
  • Type: boolean
  • Since: 0.4.0
  • Required: No
  • Default: true

ignoreProjectDependecies:

Allows to ignore the project dependencies and only use the extra dependencies.
  • Type: boolean
  • Since: 0.4.0
  • Required: No
  • Default: false

includedScopes:

The set of scopes for dependencies which will be included in the DP
  • Type: java.util.Set
  • Since: 0.4.0
  • Required: No
  • Default: compile,runtime

skip:

Skip the generation of the DP
  • Type: boolean
  • Since: 0.4.0
  • 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
  • Since: 0.4.0
  • 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
  • Since: 0.4.0
  • Required: No
  • User Property: version