The GitHub Actions job "Build" on 
jackrabbit-oak.git/oak-search-mongot-osgi-bundle has failed.
Run started by GitHub user meticulous-dft (triggered by meticulous-dft).

Head commit for run:
504c508531d89cb69bc8db6c561884a913fb4cba / Ming He <[email protected]>
OAK-search-mongot: let the connector bundle resolve in OSGi

OSGiIT.bundleStates has failed since the connector was added to oak-it-osgi:
the bundle stays INSTALLED because Felix cannot wire its com.mongodb.* and
org.bson.* imports.

The connector must inline oak-search, which exports no packages, as oak-lucene
and oak-search-elastic do. The additional `*;scope=compile|runtime` embed only
pulled in mongodb-driver-sync, not the driver-core and bson bundles it depends
on, so the driver imports remained unresolved; it also embedded oak-search a
second time as a nested jar.

Stop embedding the driver and deploy the MongoDB driver bundles in the OSGi
test runtime instead, the way oak-store-document consumes the driver. The
connector bundle now has no embedded jars and imports com.mongodb and org.bson
in [5.4,6). The README still described importing oak-search packages and
driver 5.3; correct it.

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/36200801387

With regards,
GitHub Actions via GitBox

Reply via email to