These packages are marked as optional within the search extension module itself, so I wonder if it is indeed the problem with the felix plugin not analyzing the dependencies correctly...

I guess I'll have to manually list these packages as optional within the "all" bundle

Sergey

On 19/12/12 10:14, Sergey Beryozkin wrote:
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



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to