OSGI OBR repository hosting?

6.4k views Asked by At

Does anyone know of any services that provide OBR for hosting my own Bundles?

Something like github - but for bundles.

(If not - did anyone ever create their own OBR server, and how hard was it?)

EDIT: I found one solution by Nexus Pro, but it seems like its too expensive for mere mortals (as price for pro is nowhere to be seen).

4

There are 4 answers

2
Carl On BEST ANSWER

SpringSource, Apache Sling, and the OSGi Alliance have repositories and ServiceMix has its own bundles but all are privately maintained with varying levels of public influence.

There's an old public repository out there that Richard Hall used to maintain. This is back before Oscar became Felix, so you'd have to contact Richard, who is very active on Felix, about this OBR's usefulness.

Setting up your own OBR isn't terribly difficult. Apache Felix offers an OBR bundle to get things started. An OBR is really just an XML index with files linked within akin to a Maven repository, so you could set up your own OBR on any host as long as you structure things right.

0
whatnick On

The alternative to Nexus for Maven hosting is Apache Archiva. Once tools like Felix bnd plugin build a repository.xml for your project you can put it in the standard maven repository to host the OBR metadata. The other maven repository hosting solution is Artifactory.

0
ctron On

Although this might be a little bit late, but I am currently working on an open source (EPL) software repository server, called Package Drone, with the primary focus on OSGi bundles.

It does support Eclipse P2, Maven and Maven Tycho, Bndtools or manual upload. You can also access the repository as a P2 or OSGi R5 XML Index repository.

0
Frank Lee On

The open source edition of Nexus now provides (experimental at the moment, but it seems to work fine) support for generating OBR repositories.

You can create a 'virtual repository' with format: 'OBR', and point this to another repository. This virtual repository will monitor the contents of the repository and generate OBR metadata.

Karaf Cave is also an OBR repository, but I haven't tried it.