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.

BR,

Jukka Zitting

Reply via email to