[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-08-23 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15432960#comment-15432960
 ] 

Jean-Baptiste Onofré commented on KARAF-4411:
-

[~gnt] I think we can consider this Jira as resolved, don't you think ?

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.6
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-08-01 Thread Alexey Markevich (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15402076#comment-15402076
 ] 

Alexey Markevich commented on KARAF-4411:
-

This issue already fixed: https://issues.apache.org/jira/browse/AMQ-6271

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.6
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-08-01 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15402061#comment-15402061
 ] 

Guillaume Nodet commented on KARAF-4411:


Unfortunately, the resolver can not guarantee that it will return the "best" 
solution.
So a small change in the input can result in somewhat different solution.
{code}
karaf@root()> requirement-add --simulate --verbose  "spring/4.2" 
Changes to perform:
  Region: root
Bundles to install:
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/4.2.5.RELEASE_1
  mvn:org.springframework/spring-aop/3.1.4.RELEASE
  mvn:org.springframework/spring-asm/3.1.4.RELEASE
  mvn:org.springframework/spring-beans/3.1.4.RELEASE
  mvn:org.springframework/spring-context/3.1.4.RELEASE
  mvn:org.springframework/spring-context-support/3.1.4.RELEASE
  mvn:org.springframework/spring-core/3.1.4.RELEASE
  mvn:org.springframework/spring-expression/3.1.4.RELEASE
  Bundles to refresh:
org.apache.activemq.activemq-osgi/5.13.2 (Should be wired to: 
org.apache.servicemix.bundles.spring-context/4.2.5.RELEASE_1 (through 
[org.apache.activemq.activemq-osgi/5.13.2] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.context)(version>=3.0.0)(!(version>=5.0.0)))";
 resolution:=optional), 
org.apache.servicemix.bundles.spring-beans/4.2.5.RELEASE_1 (through 
[org.apache.activemq.activemq-osgi/5.13.2] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=3.0.0)(!(version>=5.0.0)))";
 resolution:=optional), 
org.apache.servicemix.bundles.spring-core/4.2.5.RELEASE_1 (through 
[org.apache.activemq.activemq-osgi/5.13.2] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.core.io)(version>=3.0.0)(!(version>=5.0.0)))";
 resolution:=optional))
org.apache.xbean.spring/3.18.0 (Should be wired to: 
org.springframework.core/3.1.4.RELEASE (through 
[org.apache.xbean.spring/3.18.0] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.core.io)(version>=2.5.0)(!(version>=4.0.0)))"),
 org.springframework.beans/3.1.4.RELEASE (through 
[org.apache.xbean.spring/3.18.0] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.beans)(version>=2.5.0)(!(version>=4.0.0)))"),
 org.springframework.context/3.1.4.RELEASE (through 
[org.apache.xbean.spring/3.18.0] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.springframework.context)(version>=2.5.0)(!(version>=4.0.0)))"))
karaf@root()> requirement-add --simulate --verbose  "spring/4" 
Changes to perform:
  Region: root
Bundles to install:
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/4.2.5.RELEASE_1
karaf@root()>  
{code}

This use case can be simplified a bit by blacklisting the spring 3.1 features 
by adding the following line into {{etc/blacklisted.properties}}:
{code}
spring;range="[3.0,3.2)"
{code}
But we still have a slightly unexpected output:
{code}
karaf@root()> requirement-add --simulate --verbose "spring/4.2" 
Changes to perform:
  Region: root
Bundles to install:
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/4.2.5.RELEASE_1
  
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/4.2.5.RELEASE_1
  Bundles to refresh:
org.apache.activemq.activemq-osgi/5.13.2 (Should be wired to: 
org.apache.servicemix.bundles.spring-core/4.2.5.RELEASE_1 (through 

[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-07-26 Thread Alexey Markevich (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15393391#comment-15393391
 ] 

Alexey Markevich commented on KARAF-4411:
-

existing fix cause
Bundles to install:
  mvn:org.codehaus.woodstox/stax2-api/3.1.4
  mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
during custom feature installation and takes more time.
Feature descriptor list is
featuresRepositories = \
mvn:org.apache.karaf.features/spring/4.0.5/xml/features, \
mvn:org.apache.karaf.features/standard/4.0.5/xml/features, \
mvn:org.apache.karaf.features/framework/4.0.5/xml/features, \
mvn:org.apache.karaf.features/enterprise/4.0.5/xml/features, \
mvn:org.apache.camel.karaf/apache-camel/2.16.3/xml/features, \
mvn:org.apache.cxf.karaf/apache-cxf/3.1.5/xml/features, \
mvn:org.apache.activemq/activemq-karaf/5.13.3/xml/features, \
mvn:org.apache.activemq/activemq-karaf/5.13.3/xml/features-core, \
mvn:org.apache.jclouds.karaf/jclouds-karaf/1.9.1/xml/features, \
+ some custom

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.6
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-04-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15221823#comment-15221823
 ] 

ASF subversion and git services commented on KARAF-4411:


Commit d906281ece614b935d9b0b3490db0c0a56ed3e2a in karaf's branch 
refs/heads/karaf-4.0.x from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=d906281 ]

[KARAF-4411] FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 
and 3.2.14 at the same time

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.6
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-04-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15221821#comment-15221821
 ] 

ASF subversion and git services commented on KARAF-4411:


Commit 41fc57fdcd0697d5dad3a49a56779c310b6c629b in karaf's branch 
refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=41fc57f ]

[KARAF-4411] FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 
and 3.2.14 at the same time

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.6
>
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-11 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15191070#comment-15191070
 ] 

Guillaume Nodet commented on KARAF-4411:


I don't think the features have any problem at all, it's more the resolver is 
forced to install spring/3.1.x feature at some point.

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-11 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15191056#comment-15191056
 ] 

Jean-Baptiste Onofré commented on KARAF-4411:
-

It sounds good to use mandatory and dependency flag on a feature dependency. 
Not sure about the side effects (I don't see obvious ones ;)). Thanks !

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-11 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15191046#comment-15191046
 ] 

Guillaume Nodet commented on KARAF-4411:


I have a fix, but I need to investigate a bit more the possible side effects:
{code}
diff --git 
a/features/core/src/main/java/org/apache/karaf/features/internal/region/Subsystem.java
 
b/features/core/src/main/java/org/apache/karaf/features/internal/region/Subsystem.java
index 09cae6b..d8863e5 100644
--- 
a/features/core/src/main/java/org/apache/karaf/features/internal/region/Subsystem.java
+++ 
b/features/core/src/main/java/org/apache/karaf/features/internal/region/Subsystem.java
@@ -284,7 +284,7 @@ public class Subsystem extends ResourceImpl {
 while (!ss.isAcceptDependencies()) {
 ss = ss.getParent();
 }
-ss.requireFeature(dep.getName(), dep.getVersion(), 
this.mandatory && (mandatory && !dep.isDependency()));
+ss.requireFeature(dep.getName(), dep.getVersion(), false);
 }
 for (Conditional cond : feature.getConditional()) {
 Feature fcond = cond.asFeature();
{code}


> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-11 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15191044#comment-15191044
 ] 

Jean-Baptiste Onofré commented on KARAF-4411:
-

I started to check the spring version alignment between spring-dm and pax-web. 
But go ahead if you want to work on this Jira.

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Guillaume Nodet
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-10 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15190569#comment-15190569
 ] 

Guillaume Nodet commented on KARAF-4411:


I wonder if, at some point, we should split the spring features repository into 
multiple repositories for each spring version.

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>Assignee: Jean-Baptiste Onofré
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KARAF-4411) FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 at the same time

2016-03-10 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15190538#comment-15190538
 ] 

Jean-Baptiste Onofré commented on KARAF-4411:
-

Let me check, but I bet the version range is [3,4), so, for instance, during a 
refresh, it will install the latest version available even if a matching one is 
already installed. However, it should remove the installed one.

The problem is that sprign-dm-web feature installs both spring-dm and pax-web 
feature, with different spring versions. Let me fix that.

> FeatureResolver: spring-dm-web feature installs Spring ver 3.1.4 and 3.2.14 
> at the same time
> 
>
> Key: KARAF-4411
> URL: https://issues.apache.org/jira/browse/KARAF-4411
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-feature
>Affects Versions: 4.0.4
> Environment: Oracle JDK 1.8
>Reporter: Vladimir Konkov
>
> Similar to KARAF-4159.
> To reproduce:
> $ feature:install spring-dm-web
> $ la
> ...
>  56 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-aop
>  57 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-beans
>  58 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context
>  59 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-context-support
>  60 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-core
>  61 | Active   |  30 | 3.2.14.RELEASE_1 | Apache ServiceMix :: Bundles :: 
> spring-expression
> ...
> 106 | Active   |  30 | 3.1.4.RELEASE| Spring AOP
> 107 | Active   |  30 | 3.1.4.RELEASE| Spring ASM
> 108 | Active   |  30 | 3.1.4.RELEASE| Spring Beans
> 109 | Active   |  30 | 3.1.4.RELEASE| Spring Context
> 110 | Active   |  30 | 3.1.4.RELEASE| Spring Context Support
> 111 | Active   |  30 | 3.1.4.RELEASE| Spring Core
> 112 | Active   |  30 | 3.1.4.RELEASE| Spring Expression Language
> 113 | Active   |  30 | 1.2.1| spring-osgi-web



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)