Hi

It's because you have some features repository without version range,
so, the resolver takes the latest version available.

A simple workaround is to blacklist 4.4.2-SNAPSHOT features
repositories. To do that, you have to edit
etc/org.apache.karaf.features.xml and blacklist the 4.4.2-SNAPSHOT
repositories.

NB: I recommend you to check your own repositories and add version range here.

Regards
JB

On Tue, Oct 18, 2022 at 3:25 PM Domke, Alexander <[email protected]> wrote:
>
> Hello all,
>
>
>
> in my custom distribution I just have the problem that also Karaf bundles 
> with version 4.4.2 snapshots are added to the distribution. I am using 
> repositories with version 4.4.1 and still 4.4.2 SNAPSHOTS are installed. The 
> distribution was built with the karaf-maven-plugin and when I try to 
> blacklist the SNAPSHOTS repositories, it has no effect. The problem has 
> occurred only this week, before that we have not observed anything like it.
>
>
>
> Does anyone have any idea what I can do to ban the snapshots 
> (bundles/features) in general?
>
>
>
> With kind regards
>
> Alex
>
>
>
>
> CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30, 
> Fax: +49 711 7825-4000, Internet: www.cenit.com
> Geschaeftsstellen (Branch Offices): Berlin, Frankfurt, Hamburg, Hannover, 
> Muenchen, Oelsnitz, Ratingen, Saarbruecken
> Vorstandsmitglieder (Members of the Board): Peter Schneck, Axelle Maze
> Aufsichtsratsmitglieder (Supervisory Board Members): Rainer Koppitz 
> (Vorsitzender des Aufsichtsrats / Chairman of the Supervisory Board), Prof. 
> Dr. Isabell Welpe, Ricardo Malta
> Bankverbindungen (Bank Accounts):
> Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070 0166 1040 
> 00 SWIFT-CODE : DEUTDESS,
> Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071 0532 0155 
> 00 SWIFT-Code : COBADEFF600,
> Registergericht (Registry court): Amtsgericht Stuttgart
> Handelsregister (Commercial Register): HRB Nr. 19117
> Umsatzsteuer (VAT) ID: DE 147 862 777

Reply via email to