Sooner or later you would like to include a non-OSGI JAR file into your ServiceMix project. This recipe will guide you through the process of installing regular JAR files as OSGI bundles.
Before we start, all you need to do is start your ServiceMix container.
In the ServiceMix shell, execute the following command:
osgi:install wrap:mvn:groupId/artifactId/version. For example, to install Apache Commons Logging library in Version 1.1 as the OSGI bundle, type
ServiceMix uses the OSGI bundles to organize the modules deployed into it (as well as their dependencies). If we want to use a JAR file ...