Image of OSGi Logo

Overview

All OSGi API artifacts are available on Maven Central with groupId org.osgi.

Individual Artifacts

There are artifacts available for each chapter in the specification which has an API. The artifactId is the primary package name used in the specification. The major and minor version of the artifact is equal to the version of the specification chapter.

Aggregate Artifacts

In addition to individual artifacts, some aggregate artifacts are provided which encapsulate multiple related specifications. They have artifactIds starting with osgi..

There are dedicated build time artifacts which are not intended for use at runtime. These should be used with maven scope provided. For example, osgi.annotation and osgi.core.

Other than the dedicated build time artifacts, it is generally recommended to use the individual artifacts, as this allows for more precise versioning. In particular, avoid using the osgi.cmpn artifact.