Grails on OSGi: Released Grails OSGi plugin 0.2.1
I just released a small update for the OSGi plugin, which fixes dependency resolution for Spring DM.
Thanks to lemnitram and Klaus Baumecker for reporting it.
Spring DM 2.0 is currently only available as snapshot release (2.0.0.M1). The jars used to be available from other repositories (e.g. SpringSource Enterprise Bundle Repository (EBR)), but they have vanished, so I needed to add the Spring Milestone Repository.
For installation and usage of the plugin see me previous blog post and the docs.
Spring DM has been donated to the Eclipse Foundation by SpringSource, where it will be part of the Gemini Blueprint and Gemini Web projects. This means, that Spring DM 2.0 will never be released, so the OSGi Plugin needs to be ported to use Gemini Blueprint and Gemini Web instead. This will happen in the 0.3 release.

Hi, do you still plan on updating your plugin to use Blueprint and Gemini Web? I’m starting an OSGI Blueprint based project and would love to use your plugin. Thanks!
Hi Greg,
yes I hope to update the plugin over the holidays. I’m currently working on better OSGi integration for Groovy (see http://github.com/jetztgradnet/groovyx-osgi/), which I’ll release shortly. The next step is to overhaul the Grails plugin to use this functionality and update to Blueprint and Gemini Web.
What are your requirements?
Wolfgang
So, is there any prevision to support OSGI services?
Hi Wesley,
yes, the plan is to support OSGi services with Spring DM or rather its successor Eclipse Gemini Blueprint. I’m currently working on a OSGi DSL for Groovy (see http://github.com/jetztgradnet/groovyx-osgi/), which I’ll release shortly. The next step is to overhaul the Grails plugin to use this functionality and update to Blueprint and Gemini Web.
What are your requirements?
Wolfgang
@jetztgradnet
So…as i can see there is a way to programmatically access OSGI services, is it stable? Do you recommend to use it or should i have to wait until the overhaul of Grails plugin?
Hi Wesley,
what do you mean with “stable”? I wouldn’t recommend to use it for business-critical software, but if you’re in a prototype phase, you can sure use it. The plugin is not yet widely adopted, so I can’t promise, that everything works out of the box. But if you find any issues, I’ll try to fix them shortly.
Wolfgang