Chris Lake created SM-5528:
------------------------------
Summary: spring-context-6.x imports
org.springframework.beans.annotation
Key: SM-5528
URL: https://issues.apache.org/jira/browse/SM-5528
Project: ServiceMix
Issue Type: Bug
Components: bundles
Affects Versions: bundles-2023.03
Reporter: Chris Lake
The SpringFramework Beans 6.x library no longer has the package
_*org.springframework.beans.annotation*_ and thus the Servicemix
spring-beans-6.x bundles no longer have an Export-Package for it.
However, the Servicemix spring-context-6.x library still has a mandatory
Import-Package for it which causes an error when loading the library as the
import cannot be resolved.
I think the
"{_}org.springframework.beans.annotation;version="[${pkgVersion},6.1)",{_}"
line in the _*spring-context-6.0.7/pom.xml*_ needs to be removed, or if it is
known to be provided by other libraries, at least make it optional.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)