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

Feature deployer does not work with the mvn: protocol handler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0, 3.0.0
    • None
    • None
    • None

    Description

      Steps to reproduce:

      1. Execute feature:repo-list to get some feature URIs

      karaf@root()> feature:repo-list
      Repository                | URL
      ------------------------------------------------------------------------------------------------
      standard-3.0.0-SNAPSHOT   | mvn:org.apache.karaf.features/standard/3.0.0-SNAPSHOT/xml/features
      enterprise-3.0.0-SNAPSHOT | mvn:org.apache.karaf.features/enterprise/3.0.0-SNAPSHOT/xml/features
      spring-3.0.0-SNAPSHOT     | mvn:org.apache.karaf.features/spring/3.0.0-SNAPSHOT/xml/features
      

      2. Install all the features from the spring repository with the feature deployer

      karaf@root()> install -s feature:mvn:org.apache.karaf.features/spring/3.0.0-SNAPSHOT/xml/features
      Bundle ID: 75
      

      3. Make sure the installed synthetic bundle state is correct

      karaf@root()> list
      START LEVEL 100 , List Threshold: 50
         ID   State         Level Name
      [  75] [    Active] [   80] features (0.0.0)
      

      4. Make sure all the features from the repository have been installed

      karaf@root()> feature:list | grep -i spring
      spring                        | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring support
      spring-aspects                | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring AOP support
      spring-dm                     | 1.2.1           |           | spring-3.0.0-SNAPSHOT     | Spring DM support
      spring-dm-web                 | 1.2.1           |           | spring-3.0.0-SNAPSHOT     | Spring DM Web support
      spring-instrument             | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Instrument support
      spring-jdbc                   | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring JDBC support
      spring-jms                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring JMS support
      spring-struts                 | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Struts support
      spring-test                   | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Test support
      spring-orm                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring ORM support
      spring-oxm                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring OXM support
      spring-tx                     | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Transaction (TX) support
      spring-web                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Web support
      spring-web-portlet            | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Spring Web Portlet support
      gemini-blueprint              | 1.0.0.RELEASE   |           | spring-3.0.0-SNAPSHOT     | Gemini Blueprint Extender
      

      Expectations:

      1. Expect the name of the synthetic bundle is something like this ${artifactId}-${classifier}, i.e. for the example above the name should be something like this spring-features

      2. All the bundles from the specified feature repository are installed

      Actual result:

      1. The name of the synthetic bundle is ${classifier}, i.e. for the given example is features

      2. No features were installed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            szhemzhitsky Sergey Zhemzhitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: