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).
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With