You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2023/05/05 14:27:00 UTC

[jira] [Resolved] (SM-5528) spring-context-6.x imports org.springframework.beans.annotation

     [ https://issues.apache.org/jira/browse/SM-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-5528.
--------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: bundles-2023.04
>
>
> 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)