I have the following case: There are some OSGi applications in our environment, which consists of apache-karaf 2.0 and apache-camel 2.4.0. Now we would like to switch our production environment to the latest versions of karaf (2.1.4) and camel (2.6.0). The problem is that we have some package constraints in our old applications, which are incompatible with new version of camel.
Are there any best practices to migrate existing OSGi code to new versions of libraries?