2014-03-10 17:15 GMT+01:00 Jukka Zitting <jukka.zitt...@gmail.com>:

> Hi,
>
> On Mon, Mar 10, 2014 at 5:40 AM, Chetan Mehrotra
> <chetan.mehro...@gmail.com> wrote:
> > Reason for not embedding the Lucene and Solr related dependencies in
> > Oak bundles is to enable usage of same bundle jars in non OSGi env
> > without adding to size.
>
> Good point. This line of thought actually suggests a way we could do
> *both* option 2 and 1 (or similarly for 3 and 4):
>
> Don't embed dependencies in the oak-lucene and oak-solr bundles, and
> provide a separate oak-fulltext bundle that embeds oak-lucene,
> oak-solr and all the currently non-OSGified dependencies.
>
> This way we can use the oak-fulltext bundle now without worrying about
> semantic versioning in Lucene/Solr, but be ready to switch to option 2
> once such dependencies become available. As an added benefit the
> transitive Maven dependency structure will work correctly also for
> non-OSGi environments.
>

ok, so (in OSGi env) we would have oak-solr and oak-fulltext as fragments
of oak-lucene (being the fragment host), that sounds like an ok scenario
for me.

Regards,
Tommaso


>
> BR,
>
> Jukka Zitting
>

Reply via email to