>>>>> Steinar Bang <s...@dod.no>:

> The project now has an integration test, and the karaf.log of the
> integration test shows liquibase output, for version 3.8.0 of liquibase,
> so I can use this to debug liquibase logging for 4.x versions:
>  
> https://github.com/steinarb/liquibase-karaf-feature/tree/master/liquibase-integration-test/karaf.liquibase.tests

So I've tried the newest liquibase release: 4.11.0

Version 4.11.0 failed because the MANIFEST.MF was missing OSGi headers.
I've filed an issue for the missing headers: 
https://github.com/liquibase/liquibase/issues/2922

Version 4.10.0 has OSGi headers in the MANIFEST.MF.

But version 4.10.0 fails because it can't find osgi.serviceloader.registrar:
  
testLoadFeature(no.priv.bang.karaf.liquibase.tests.LiquibaseKarafFeatureIntegrationTest):
 Unable to resolve org.liquibase.core/4.10.0: missing requirement 
[org.liquibase.core/4.10.0] osgi.extender; 
filter:="(osgi.extender=osgi.serviceloader.registrar)"

I've googled and osgi.serviceloader.registrar seems to be part of
something called the OSGi service loader mediator:
 https://stackoverflow.com/a/43781701

Is the OSGi service loader mediator easily available in karaf?
I.e. loadable by a feature?

 

Reply via email to