Hi

I think it’s more Karaf-maven-plugin issue/use on windows.

We don’t have such issue on Unix. Let me try on Windows vm.

Regards
JB

Le ven. 11 mars 2022 à 15:38, Bengt Rodehav <[email protected]> a écrit :

> Do you think this is a Camel problem? The more I think about it I wonder
> how it could ever work having a version range in the repository tag like
> that. Doesn't it have to be a specific version since it identifies a
> repository to be searched for artifacts?
>
> /Bengt
>
> Den fre 11 mars 2022 kl 09:23 skrev Bengt Rodehav <[email protected]>:
>
>> Yes, that's correct.
>>
>> /Bengt
>>
>> Den tors 10 mars 2022 kl 18:55 skrev Jean-Baptiste Onofré <
>> [email protected]>:
>>
>>> Hi Bengt,
>>>
>>> I guess you are on Windows right ?
>>>
>>> Regards
>>> JB
>>>
>>> On Thu, Mar 10, 2022 at 3:56 PM Bengt Rodehav <[email protected]> wrote:
>>>
>>>> I use Karaf 4.3.6 and I'm trying to upgrade our Camel version to the
>>>> latest (2.14.2). It turns out I get a problem with karaf-maven-plugin,
>>>> goal features-add-to-repository.
>>>>
>>>> The new Karaf feature descriptor for Camel now starts with the
>>>> following three lines:
>>>>
>>>>
>>>> <repository>mvn:org.apache.cxf.karaf/apache-cxf/[3.4,3.4]/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.3)/xml/features</repository>
>>>>
>>>> But this causes the karaf-maven-plugin to try to download a file called
>>>> "org/apache/cxf/karaf/apache-cxf/%5B3.4,3.4%5D/apache-cxf-%5B3.4,3.4%5D-features.xml"
>>>> which of course fails.
>>>>
>>>> Is this a problem with the karaf-maven-plugin or with Camel's karaf
>>>> feature descriptor?
>>>>
>>>> If I comment out the above three lines it seems to work (it builds
>>>> anyway - haven't actually tested it yet).
>>>>
>>>> /Bengt
>>>>
>>>

Reply via email to