By the way, with the newer LTS versions we have only a fixed version for
cxf and a range for pax-cdi

https://github.com/apache/camel-karaf/blob/camel-karaf-3.20.x/platforms/karaf/features/src/main/resources/features.xml#L21-L22

Il giorno lun 23 gen 2023 alle ore 13:16 Andrea Cosentino <anco...@gmail.com>
ha scritto:

> As far as I know it's possible:
> https://issues.apache.org/jira/browse/KARAF-5999
>
> You could open an issue for fixing this on Camel 3.x
>
> Il giorno lun 23 gen 2023 alle ore 13:12 Dmitri T <taleras...@gmail.com>
> ha scritto:
>
>> I believe it's legit to have a version range for <feature> tag, but
>> not for <repository>. When you add a repository, you provide a
>> concrete url to maven repo.
>>
>> пн, 23 янв. 2023 г. в 14:21, Andrea Cosentino <anco...@gmail.com>:
>> >
>> > This has been done here:
>> >
>> https://github.com/apache/camel-karaf/commit/79dfa35ff299a779687eb85e7bc34785969cfe16
>> >
>> > It's legit to have a version range and not a concrete version.
>> >
>> > Il giorno lun 23 gen 2023 alle ore 12:15 Dmitri T <taleras...@gmail.com>
>> ha
>> > scritto:
>> >
>> > > Hello.
>> > >
>> > > Starting from Camel 3.8 features.xml contains a version range inside
>> > > <repository> instead of a concrete version:
>> > >
>> > >
>> > >
>> <repository>mvn:org.apache.cxf.karaf/apache-cxf/[3,4)/xml/features</repository>
>> > >
>> > >
>> <repository>mvn:org.apache.jclouds.karaf/jclouds-karaf/[2.1,2.1]/xml/features</repository>
>> > >
>> > >
>> <repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features</repository>
>> > >
>> > >
>> <repository>mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/[6.2,6.2]/xml/features</repository>
>> > >
>> > > See
>> > >
>> https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.8.0/apache-camel-3.8.0-features.xml
>> > >
>>
>>
>>
>> --
>> Best regards,
>> Dmitri
>>
>

Reply via email to