Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.1.5, 2.2.1, 3.0.0
-
None
Description
Today I've encountered the interesting problem that Karaf reacts VERY strangely if "mvn:org.osgi/org.osgi.core/4.2" is added to a feature file. The reason for the problem is clear; though to avoid that such errors lead to "Karaf going crazy" we should add the option of a bundle-blacklist to etc/org.apache.karaf.features.cfg:
bundleBlacklist=org.osgi/org.osgi.core
If someone, for any reason really knows what he is doing and still like to install the bundle he can simply manipulate the blacklist. Otherwise we could simply ignore such bundles during reading of feature files.