karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Zhemzhitsky (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2130) Feature deployer does not work with the mvn: protocol handler
Date Fri, 18 Jan 2013 22:26:12 GMT
Sergey Zhemzhitsky created KARAF-2130:
-----------------------------------------

             Summary: Feature deployer does not work with the mvn: protocol handler
                 Key: KARAF-2130
                 URL: https://issues.apache.org/jira/browse/KARAF-2130
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.3.0, 3.0.0
            Reporter: Sergey Zhemzhitsky


*Steps to reproduce:*

1. Execute *feature:repo-list* to get some feature URIs
{code}
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
{code}

2. Install all the features from the spring repository with the feature deployer
{code}
karaf@root()> install -s feature:mvn:org.apache.karaf.features/spring/3.0.0-SNAPSHOT/xml/features
Bundle ID: 75
{code}

3. Make sure the installed synthetic bundle state is correct
{code}
karaf@root()> list
START LEVEL 100 , List Threshold: 50
   ID   State         Level Name
[  75] [    Active] [   80] features (0.0.0)
{code}

4. Make sure all the features from the repository have been installed
{code}
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
{code}

*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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message