Hello
I am facing a problem when resolving bundles with the mvn protocol and a range. 

Example feature.xml

<feature name="some-api " version="...">
  <bundle>mvn:my.group/some.api/[5.2,6)</bundle>
</feature>

If the bundle resides in the local Karaf repository under "system", the bundle 
could not be resolved. "LATEST" also does not work, I will always have to 
specify a concrete version.
However, if it lies in the local .m2 Maven repository, it works! It think 
because the Maven repo is indexed properly with metadata and the system 
directory is not.

Unfortunately I need the range specification because the bundle is built and 
placed under "system" at customers site, with a minor version we don't exactly 
know before.

Any ideas how to solve this? Version is Karaf 4.0.4.


TIA & Regards
  Volker


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): Kurt Bengel  (CEO), Matthias 
Schmidt  (CFO)
Aufsichtsratsmitglieder (Supervisory Board Members): Prof. Dr. Oliver Riedel 
(Vorsitzender des Aufsichtsrats / Chairman of the Supervisory Board), Stephan 
Gier, 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