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

KAR:Create missing bundles that are marked conditional

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.4, 4.2.0.M2
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      N/A

      Description

      When creating a KAR file using the KAR:CREATE commands for a feature contains a <conditional> bundle in the feature file, the bundle is not being included in the resulting KAR.

      I found this while creating a KAR for aries-rsa using the following command.
      >kar:create aries-rsa-1.9.0 aries-rsa-discovery-zookeeper

      When trying to start the KAR, I received errors stating that it could not find the mvn:org.apache.aries.rsa/org.apache.aries.rsa.eapub/1.9.0 from the repository. Checking the KAR, this bundle was not present. I manually updated the KAR and the feature started successfully.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                gmccone George McCone
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: