It seems to work after I used a version range that allows exactly one spring verion only.
<feature name="my-spring" version="${project.version}"> <feature version="[${spring.version},${spring.version}]">spring</feature> <feature version="[${spring.version},${spring.version}]">spring-web</feature> <feature version="[${spring.version},${spring.version}]">spring-tx</feature> <feature version="[${spring.version},${spring.version}]">spring-websocket</feature> <bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-messaging/${spring.version}</bundle> </feature>