Hi
On 18/12/12 22:53, Sven Zethelius wrote:
I've been doing a quick check to start upgrading an application from 2.4.X to
2.7.X that is using OSGi. Step 1 was just determining which jars are needed to
satisfy OSGI startup. I'm starting by just looking through the MANIFEST.MF of
cxf-bundle to see what packages are require (not resolution:=optional).
New to the list of required packages are:
org.apache.lucene.document,
org.apache.lucene.index,
org.apache.lucene.search
Are these really "required" for minimum functionality to startup the bundle?
Looking at uses, it seems isolated to org.apache.cxf.jaxrs.ext.search.
Is this a bug? Should these packages be resolution:=optional
Looks like it is a bug, though I'm not sure why these packages have been
not marked as optional, Lucene dependencies are all marked as optional,
and have the 'provided' scope - I guess the felix plugin ignores these
dependency properties ?
FYI, all the individual CXF modules are bundles now, so using specific
modules only will work as expected for you.
Cheers, Sergey