It would be nice if it worked in OSGi, if the JAR had the right manifest etc.
For example in your jar, your META-INF/MANIFEST.MF looks like the following which is not enough for OSGi:
Manifest-Version: 1.0
Built-By: integer
Created-By: Apache Maven 3.3.9
Build-Jdk: 1.8.0_112
This has the consequence that I cannot use camel-docker component in Apache Karaf.