You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by flosee <fl...@gmx.de> on 2016/04/11 22:38:08 UTC
Problems with feature repository in karaf 4.0.4
When I install manually the following features
/feature:install spring-aspects/3.2.14.RELEASE_1
feature:install spring-instrument/3.2.14.RELEASE_1/
everything works fine. However, if I add a feature repo like
/<features name="my_test_features"
xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">
<feature name="my_spring_feature" version="3.2.14">
<feature version="3.2.14.RELEASE_1">spring-aspects</feature>
<feature version="3.2.14.RELEASE_1">spring-instrument</feature>
</feature>
</features>/
and then call
/feature:install my_spring_feature/
almost all spring related features become active
52 | Active | 30 | 1.0.0.6 | Apache ServiceMix :: Bundles ::
aopalliance
53 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-aop
54 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-aop
55 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-aop
56 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-aop
57 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-aspects
58 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-beans
59 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-beans
60 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-beans
61 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-beans
62 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-context
63 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-context
64 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-context
65 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-context
66 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-context-support
67 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-context-support
68 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-context-support
69 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-context-support
70 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-core
71 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-core
72 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-core
73 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-core
74 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-expression
75 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-expression
76 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-expression
77 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-expression
78 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-instrument
79 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
spring-instrument
80 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
spring-instrument
81 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
spring-instrument
What do I do wrong? Thanks for your effort!
Regards
flosee
--
View this message in context: http://karaf.922171.n3.nabble.com/Problems-with-feature-repository-in-karaf-4-0-4-tp4046221.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Problems with feature repository in karaf 4.0.4
Posted by Markus Rathgeb <ma...@gmail.com>.
http://karaf.922171.n3.nabble.com/Installing-spring-web-via-feature-file-brings-in-multiple-versions-of-spring-td4045572.html
2016-04-11 22:38 GMT+02:00 flosee <fl...@gmx.de>:
> When I install manually the following features
>
> /feature:install spring-aspects/3.2.14.RELEASE_1
> feature:install spring-instrument/3.2.14.RELEASE_1/
>
> everything works fine. However, if I add a feature repo like
>
> /<features name="my_test_features"
> xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">
> <feature name="my_spring_feature" version="3.2.14">
> <feature version="3.2.14.RELEASE_1">spring-aspects</feature>
> <feature version="3.2.14.RELEASE_1">spring-instrument</feature>
> </feature>
> </features>/
>
> and then call
>
> /feature:install my_spring_feature/
>
> almost all spring related features become active
>
> 52 | Active | 30 | 1.0.0.6 | Apache ServiceMix :: Bundles ::
> aopalliance
> 53 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-aop
> 54 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-aop
> 55 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-aop
> 56 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-aop
> 57 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-aspects
> 58 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-beans
> 59 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-beans
> 60 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-beans
> 61 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-beans
> 62 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-context
> 63 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-context
> 64 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-context
> 65 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-context
> 66 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-context-support
> 67 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-context-support
> 68 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-context-support
> 69 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-context-support
> 70 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-core
> 71 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-core
> 72 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-core
> 73 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-core
> 74 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-expression
> 75 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-expression
> 76 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-expression
> 77 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-expression
> 78 | Active | 30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-instrument
> 79 | Active | 30 | 4.0.7.RELEASE_3 | Apache ServiceMix :: Bundles ::
> spring-instrument
> 80 | Active | 30 | 4.1.7.RELEASE_2 | Apache ServiceMix :: Bundles ::
> spring-instrument
> 81 | Active | 30 | 4.2.3.RELEASE_1 | Apache ServiceMix :: Bundles ::
> spring-instrument
>
> What do I do wrong? Thanks for your effort!
>
> Regards
> flosee
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Problems-with-feature-repository-in-karaf-4-0-4-tp4046221.html
> Sent from the Karaf - User mailing list archive at Nabble.com.