The Gradle OSGi scripting, intro'd in HHH-7941, needs a clear separation of API/SPI and Internal packages in order to create the correct set of Export-Packages and Private-Packages. Anything with ".internal" in it is assumed Private. See core or entitymanager for an example.
Then, integrate with an OSGi container and correct any issues found.
Changes pushed to master branch. , maybe try to run Envers in OSGi container and resolve the ticket if successful.
Thanks ! At first glance, it looks good. However, I won't be able to test it until is finished. We're not currently able to discover Integrators from optional bundles.
Thanks ! At first glance, it looks good. However, I won't be able to test it until is finished. We're not currently able to discover Integrators from optional bundles.
Simple test bed: https://github.com/brmeyer/HibernateOSGi/commit/deb9566b9cdc6c20ed1fbb02dddc6ebba795cfb8
After adding HHH-7995, wiring OSGi services through blueprint.xml, and a few classloader fixes, this is working well! , thanks for the help!
Example usage: https://github.com/brmeyer/HibernateOSGi/commit/744bc87a7989e411ae2ed1bfceb8d52b180a3dd0
Note that the package refactoring occurred only in master. OSGi services and classloader corrections were made in both master and 4.2.