jbonofre commented on code in PR #2102:
URL: https://github.com/apache/activemq/pull/2102#discussion_r3639817862
##########
activemq-karaf/src/main/resources/features-core.xml:
##########
@@ -20,9 +20,30 @@
<features name="activemq-core-${project.version}"
xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
+ <!--
+ Spring 7.x support. Apache Karaf only provides Spring up to 6.1.x and
there are no
+ ServiceMix OSGi wrappers for Spring 7 yet, so the plain Spring
Framework jars (which
+ no longer ship OSGi metadata) are wrapped on the fly with the pax-url
wrap: protocol.
+ -->
+ <feature name="spring" description="Spring 7.x support"
version="${spring-version}">
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-core/${spring-version}$Bundle-SymbolicName=org.springframework.spring-core&Bundle-Version=${spring-version}&Export-Package=org.springframework.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-expression/${spring-version}$Bundle-SymbolicName=org.springframework.spring-expression&Bundle-Version=${spring-version}&Export-Package=org.springframework.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-beans/${spring-version}$Bundle-SymbolicName=org.springframework.spring-beans&Bundle-Version=${spring-version}&Export-Package=org.springframework.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-aop/${spring-version}$Bundle-SymbolicName=org.springframework.spring-aop&Bundle-Version=${spring-version}&Export-Package=org.springframework.*,org.aopalliance.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-context/${spring-version}$Bundle-SymbolicName=org.springframework.spring-context&Bundle-Version=${spring-version}&Export-Package=org.springframework.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ <bundle
start-level="30">wrap:mvn:org.springframework/spring-context-support/${spring-version}$Bundle-SymbolicName=org.springframework.spring-context-support&Bundle-Version=${spring-version}&Export-Package=org.springframework.*;version=${spring-version}&Import-Package=*;resolution:=optional</bundle>
+ </feature>
+
+ <feature name="spring-web" description="Spring 7.x Web support"
version="${spring-version}">
+ <feature version="[7,8)">spring</feature>
+ <bundle
dependency="true">mvn:jakarta.servlet/jakarta.servlet-api/5.0.0</bundle>
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact