I am trying to use Lucene 4.2 as an OSGi bundle. Lucene uses ServiceLoaders and I can't get them to work with Equinox.
I have followed the blog on the OSGi Alliance that states to add the following to the manifest:
I get the following stack trace when starting the Lucene bundle:
org.osgi.framework.BundleException: The bundle "org.apache.lucene_4.2.0 " could not be resolved. Reason: Missing Constraint: Require-Capability: osgi.extender; filter="(osgi.extender=osgi.serviceloader.registrar)"
I am using Equinox 3.8.2. Has anyone tried anything similar with getting Equinox to play nicely with ServiceLoader?
Thanks in advance