Appendix G. Spring-DM OSGi Repository

At the moment, most libraries are not released as OSGi bundles which means they cannot be used inside the OSGi space unless they are embedded in other bundles. Though there are tools that make the bundling process easy, it is desirable to have the artifacts prepacked so they can be used immediately for development.

To address this problem, the Spring-DM project has osgified most of the common libraries and made them available through a dedicated Maven repository available at

The repository is provided as-is without any kind of support. The repository structure/content can (and will) change until it becomes stable. These being said, we hope you find it useful and we'd like to know if there are improvement that can be made to it.

G.1. Repository conventions

Currently, all the artifacts published in the repository are marked as SNAPSHOTs meaning that, in time, their content can change. This allows clients to download possible manifest updates made to the libraries. We foresee that, as the library usage increases, several popular items will have the SNAPSHOT marker remove. Additionally, to differentiate the OSGi-enabled artifacts from the original ones, all libraries are placed under org.springframework.osgi group and their names contains a .osgi suffix.

So for example, an OSGi version of aopalliance-1.0 jar is available in the Spring-DM OSGi repository under at: org/springframework/osgi/aopalliance.osgi/1.0-SNAPSHOT/aopalliance.osgi-1.0-SNAPSHOT.jar

G.2. Browsing the repository content

The repository is currently hosted at Amazon S3. To browse the repository structure, use a S3 compatible browser (such as this one) since a vanilla web browse will not be suitable.

G.3. Using the repository with Maven

The use the repository, simply add it ot the repositories group; since the repository contains SNAPSHOT artifacts, make sure to mark it accordingly:

    <name>Springframework Maven OSGified Artifacts Repository</name>

G.4. Using the repository with Ant/Ivy

When using Ant consider using the excellent Ivy subproject for retrieving the OSGi dependencies from the Spring-DM repository as Ivy can work with a Maven-style repository. Please see the Ivy tutorial for more information.