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

Version range not correctly resolved for distribution build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.0.4
    • None
    • karaf
    • None

    Description

      using karaf-mave-plugin 4.0.4 without any obscure configuration, just bootFeatures, to build a distribution.

      One feature contains a bundle location with a version range like:
      <bundle>mvn:groupid/artifactid/[1.0,2)<bundle>

      The assembly succeeds to build, but the distribution afterwards contains:
      system/groupid/artifactid/[1.0,2)/artifactid-[1.0,2).jar

      So it looks like the karaf assemble goal does not use the resolved version but copies the version string from the feature XML.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              niveau0 Markus Tippmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: