The generated bundle manifest in activemq-osgi bundle defines wrong range for Spring OSGi packages:
where the pom defines following
I think, the maven-bundle-plugin generates wrong version when the subpackages are defined in pom after the super-package, like this
In this case org.springframework.osgi* packages will have generated the [3,5) version because the super package org.springframework* is defined first. Bug in maven-bundle-plugin or a feature?
Btw. why do we need the range [1,4] for org.springframework.osgi*? It was introduced by https://github.com/apache/activemq/commit/3a6d67e8f95320bea91b7c7106173c9b34773bc5#diff-d5b8d20ad29a25abf3fbd33c79dafc9e (
AMQ-4727). Previously was [1.2,1.3] (eventually [1.2, 2) ) and it should be ok, because we have (and will have) no newer version of Spring DM