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

karaf-maven-plugin mixes up prerequisities

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4
    • Component/s: karaf
    • Labels:
      None

      Description

      When karaf-assembly packaging is used with such a configuration that multiple prerequisities gets pulled, the ordering will be mixed up.

      Problem is that profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java sorts the parts incorrectly using TreeSet in reformatClauses().

      For example, if first this was generated from plugin configuraion (aries-blueprint, deployer, wrap), camel-core, camel-blueprint, it will be after reformatClauses (aries-blueprint, camel-core, camel-blueprint, deployer, wrap)

      Note: the example is not complete as wrap and blueprint dependencies will only be pulled if such bundles are used too.

      Relevant issues where this was first implemented are KARAF-2988 and KARAF-3574.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              Lamperi Toni Fadjukoff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: