Yes you can create your own feature.xml but it will depend on the lastest SMX bundle:

https://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.spring-core/

For now it's 5.3.26_1 so if you want to use the 5.3.27 you need to wait for the SMX release.

Regards,

On 28/04/2023 12:56, Ephemeris Lappis wrote:
Hello again.

Indeed, we could try to make our own feature repository to pull Spring
5.3.27, but I'm not very sure this is as easy as it seems : in fact I
think that features in the current Karaf repository, with version
"5.3.23.1", are all built with "service mix wrapped" bundles. I don't
know if we can easily create a 5.3.27 replacing repository.

Do you confirm ?

Thanks.

Regards

Le ven. 28 avr. 2023 à 10:14, Maurice Betzel
<m.bet...@gaston-schul.com> a écrit :
Hi,

If there is no such feature XML like in maven central, you will have to create 
one yourself with the upped versions.
If your runtime has internet access, you can just drop that xml in deploy for 
provisioning.
As for the version numbering, the third digit(s), counted from left to right, 
represent bugfixes and must be binary compatible to the previous versions.

-----Original Message-----
From: Ephemeris Lappis <ephemeris.lap...@gmail.com>
Sent: Friday, April 28, 2023 9:59 AM
To: u...@karaf.apache.org
Cc: users@camel.apache.org
Subject: Re: Karaf, Camel, and Spring

  CAUTION: This email originated from outside of Gaston Schul. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hello.

If I'm not wrong, most of Spring dependencies in Karaf come with this feature 
repository :

feature:provided mvn:org.apache.karaf.features/spring/4.4.3/xml/features
Name                   │ Version
───────────────────────┼─────────
spring                 │ 5.3.23.1
spring-aspects         │ 5.3.23.1
spring-instrument      │ 5.3.23.1
spring-jdbc            │ 5.3.23.1
spring-jms             │ 5.3.23.1
spring-messaging       │ 5.3.23.1
spring-test            │ 5.3.23.1
spring-orm             │ 5.3.23.1
spring-oxm             │ 5.3.23.1
spring-tx              │ 5.3.23.1
spring-web             │ 5.3.23.1
spring-websocket       │ 5.3.23.1
spring-security        │ 5.6.3.1
spring-security        │ 5.7.3.1
aries-blueprint-spring │ 0.0.0

I don't know if another version of this repository exists that I could add in 
one of our features files before Spring (spring or
camel-spring) dependencies are resolved.

I don't know if changing the Karaf version of Spring to match the Camel version 
may have an impact on other features that do not relate to Camel...

Your point of view is welcome :) !

Thanks again.

Regards.

Le ven. 28 avr. 2023 à 09:04, Maurice Betzel <m.bet...@gaston-schul.com> a 
écrit :
Hi,

You should be able to add the feature repo and install with version.
Something like this from the Karaf docs:

karaf@root()> feature:repo-add
mvn:org.ops4j.pax.jdbc/pax-jdbc-features/1.3.0/xml/features

-----Original Message-----
From: Ephemeris Lappis <ephemeris.lap...@gmail.com>
Sent: Thursday, April 27, 2023 7:37 PM
To: u...@karaf.apache.org; users@camel.apache.org
Subject: Karaf, Camel, and Spring

  CAUTION: This email originated from outside of Gaston Schul. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hello.

We're upgrading Camel to 3.20.4. This version of Camel seems to depend on 
Spring 5.3.27.

As the application should run on Karaf 4.4.3 that provides spring components 
with version 5.3.23.

Should we either force our project dependencies to use Spring 5.3.23, or try to 
upgrade the Karaf repository to use Spring 5.3.27 ?

Thanks for your help.

Regards.
Al onze verrichtingen geschieden op basis van de Algemene voorwaarden der 
Expediteurs van België, gepubliceerd in de bijlage tot het Belgisch Staatsblad 
dd. 24 juni 2005 onder nr. 0090237. De tekst van deze voorwaarden wordt op uw 
verzoek gratis toegezonden.
All our transactions are subject to the General Conditions of the Belgian Forwarders 
Association which have been published under nr. 0090237 in the "Bijlage tot het 
Belgisch Staatsblad" dated June 24th, 2005, and is available free of charge upon 
request.
Toutes nos opérations se font sur base des Conditions Générales des Expéditeurs 
de Belgique. Le texte en a été publié dans l' Annexe au Moniteur Belge du 24 
juin 2005 sous le n° 0090237. Ce texte sera vous envoyé gratuitment sur demande.
Email confidentiality notice:
This email and any files transmitted with it are confidential and intended only 
for the use of the recipient. If you have received this email in error please 
notify its sender.

Al onze verrichtingen geschieden op basis van de Algemene voorwaarden der 
Expediteurs van België, gepubliceerd in de bijlage tot het Belgisch Staatsblad 
dd. 24 juni 2005 onder nr. 0090237. De tekst van deze voorwaarden wordt op uw 
verzoek gratis toegezonden.
All our transactions are subject to the General Conditions of the Belgian Forwarders 
Association which have been published under nr. 0090237 in the "Bijlage tot het 
Belgisch Staatsblad" dated June 24th, 2005, and is available free of charge upon 
request.
Toutes nos opérations se font sur base des Conditions Générales des Expéditeurs 
de Belgique. Le texte en a été publié dans l' Annexe au Moniteur Belge du 24 
juin 2005 sous le n° 0090237. Ce texte sera vous envoyé gratuitment sur demande.
Email confidentiality notice:
This email and any files transmitted with it are confidential and intended only 
for the use of the recipient. If you have received this email in error please 
notify its sender.

Reply via email to