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

karaf-maven-plugin can not find sub feature with SNAPSHOT in version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.5
    • None
    • karaf
    • None

    Description

      I have very simple feature file

      <features  name="bug-1.0-SNAPSHOT">
          <feature name="bug-submodule" version="1.0-SNAPSHOT">
          </feature>
          <feature name="bug-module" version="1.0-SNAPSHOT">
              <feature version="1.0-SNAPSHOT">bug-submodule</feature>
          </feature>
      </features>
      

      when I try to execute goal karaf-assembly with boot feature bug-module I getting

      [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.5:assembly (default-assembly) on project test-a-2: Unable to build assembly: Could not find matching feature for bug-submodule/1.0-SNAPSHOT -> [Help 1]
      

      Same build worked well with version 4.0.2

      In example.zip I prepared files to reproduce this problem

      Attachments

        1. example.zip
          4 kB
          Oleksandr Maksymenko

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sasha.maksimenko@gmail.com Oleksandr Maksymenko
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: