Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-658

Add "bundle blacklist"

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.1.5, 2.2.1, 3.0.0
    • None
    • karaf

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pieber Andreas Pieber
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: