[ 
https://issues.apache.org/jira/browse/SM-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714374#comment-17714374
 ] 

Chris Lake commented on SM-5528:
--------------------------------

After doing some further testing, I see there may be many further problems.

As well as removing _*org.springframework.beans.annotation*_ from 
spring-context-6.x, it should also have *org.springframework.beans.factory.aot* 
added to its {{<servicemix.osgi.import.pkg>}} list.

 

Is see that *spring-aspects-6.x, spring-tx-6.x, spring-aop-6.x, 
spring-websocket-6.x, spring-test-6.x, spring-webflux-6.x, spring-orm-6.x* all 
have the same issue. Should this all come under this one ticket, or separate 
tickets for each bundle?

 

> 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
>
> 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)

Reply via email to