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

karaf.maven.plugin assembly fails to find feature that is present and previously loaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Problem
    • 4.2.0
    • None
    • karaf
    • None
    • Important

    Description

      Following the karaf manual to create a custom karaf distribution with camel pre-installed. I have followed the documented custom distribution example here https://karaf.apache.org/manual/latest/#_custom_distributions simply replacing spring/4.2.0 with camel/2.20.3. But the build fails with error "could not find matching feature for spring/[4.1,5) even though spring feature at version 4.2.0 is present.

      When I change the pom to add spring/4.2.0 and not camel/2.20.3 it builds without errors.

      I have tried all types of variations with spring and camel levels older and newer and also with leaving both spring and camel features in the build together.

      pom.xml attached.

      builderror.txt is console output for a non debug 'mvn install'

      debugbuilderror.txt is console output for a 'mvn clean install' with debug.

      Attachments

        1. builderror.txt
          68 kB
          Steve Chapman
        2. pom.xml
          8 kB
          Steve Chapman
        3. debugbuilderror.txt
          434 kB
          Steve Chapman
        4. pom.xml
          4 kB
          Steve Chapman

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            stevechapman Steve Chapman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: