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

karaf-assembly-plugin / builder could include only highest version number of dependent feature

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      None

      Description

      When there's karaf-maven-plugin:assembly configuration:

      <installedFeatures>
      ...
          <feature>camel-spring</feature>
      ...
      </installedFeatures>
      

      The distro being assembled contains 3 versions of Spring dependencies: 4.1.x, 4.2.x and 4.3.x, because camel-spring depends on:

      <feature version='[4.1,5)'>spring</feature>
      <feature version='[4.1,5)'>spring-tx</feature>
      

      Maybe it'd be good to configure AssemblyMojo → Builder → org.apache.karaf.profile.assembly.FeatureSelector to pick up only one version?

        Attachments

          Activity

            People

            • Assignee:
              gzres Grzegorz Grzybek
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: