>>>>> Steinar Bang <[email protected]>:

>>> Fair enough, I will create a Jira/issue about that.

>> Another thing that maybe should be added to that issue is the capability
>> osgi.extender.
[snip!]
> Turns out all of my karaf 4.4.0/OSGi 8 built bundles have
>  
> osgi.extender;filter:="(&(osgi.extender=osgi.component)(version>=1.5.0)(!(version>=2.0.0)))"
> in the Require-Capability header of MANIFEST.MF, but the above bundle is
> the only one that fails to load because of this.

> I'm unsure how to proceed.

Turns out the fix was pretty simple: https://stackoverflow.com/a/56216047

I had to do this:

modified   sonar-collector-webhook/src/main/feature/feature.xml
@@ -16,7 +16,8 @@
     </feature>
     <feature name="${karaf-feature-name}">
         
<capability>osgi.service;effective:=active;objectClass=org.osgi.service.jdbc.DataSourceFactory</capability>
-        <feature>pax-http-whiteboard</feature>
+        <feature>scr</feature>
+        <feature>http-whiteboard</feature>
         <feature>liquibase-core</feature>
     </feature>

(ie. add feature "scr" after changing "pax-http-whiteboard" to 
"http-whiteboard")

Reply via email to