Re: Karaf 4.3.6 JSON config file incorrectly rewritten?

2022-03-10 Thread Jean-Baptiste Onofré
Hi Art, I have to check what I did (I don't remember ;)) but I don't think so. Even if you use nested objects, they won't be loaded in config admin service. You can find some examples here https://github.com/apache/karaf/tree/main/config/src/test/resources. It reminds me to add documentation

Re: karaf-maven-plugin and version ranges

2022-03-10 Thread Jean-Baptiste Onofré
Hi Bengt, I guess you are on Windows right ? Regards JB On Thu, Mar 10, 2022 at 3:56 PM Bengt Rodehav 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. > >

Re: Difference between installing a bundle and a feature

2022-03-10 Thread Jean-Baptiste Onofré
You are welcome ;) Regards JB On Thu, Mar 10, 2022 at 3:47 PM Bengt Rodehav wrote: > Tried your advise and it worked perfectly - thanks! > > /Bengt > > Den tors 10 mars 2022 kl 09:16 skrev Bengt Rodehav : > >> Sorry, just saw that you answered how to provide capability via the >> feature -

Re: Karaf 4.3.6 JSON config file incorrectly rewritten?

2022-03-10 Thread Arthur Naseef
Thanks - I'll try that workaround. Do JSON files for config support nested objects? Art On Tue, Mar 8, 2022 at 12:56 AM Jean-Baptiste Onofré wrote: > Hi, > I guess it's because Karaf json config service takes it. > Maybe, if you don't use the json config for Karaf, you can exclude json >

karaf-maven-plugin and version ranges

2022-03-10 Thread Bengt Rodehav
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:

Re: Difference between installing a bundle and a feature

2022-03-10 Thread Bengt Rodehav
Tried your advise and it worked perfectly - thanks! /Bengt Den tors 10 mars 2022 kl 09:16 skrev Bengt Rodehav : > Sorry, just saw that you answered how to provide capability via the > feature - will try that. > > /Bengt > > Den tors 10 mars 2022 kl 09:06 skrev Bengt Rodehav : > >> Thanks a lot

Re: Problems with logging to karaf.log from liquibase >3

2022-03-10 Thread Steven Huypens
Hi Steinar, We're using liquibase 3.8.0 in Karaf, higher 3.x versions are missing 'javax.activation' import. We have no liquibase-logging like you mention. Waiting for Liquibase 4.8.1 with Jakub's fix.. Kind regards, Steven On Wed, Mar 9, 2022 at 10:38 PM Steinar Bang wrote: > I've been

Re: Problems with logging to karaf.log from liquibase >3

2022-03-10 Thread Jakub Herkel
I prepared some fixes for liquibase 3.7 but there was an another osgi related error. So maybe you can check liquibase 4.8.1 when it is released Jakub On Thu, Mar 10, 2022 at 6:23 AM Jean-Baptiste Onofré wrote: > > Hi Steinar, > > I'm sorry, I never tried liquidbase in Karaf. > > JUL is

Re: Difference between installing a bundle and a feature

2022-03-10 Thread Bengt Rodehav
Sorry, just saw that you answered how to provide capability via the feature - will try that. /Bengt Den tors 10 mars 2022 kl 09:06 skrev Bengt Rodehav : > Thanks a lot JB - this really helps! > > Do you also know if it is possible to make pax-jdbc generate the > corresponding "provides"?

Re: Difference between installing a bundle and a feature

2022-03-10 Thread Bengt Rodehav
Thanks a lot JB - this really helps! Do you also know if it is possible to make pax-jdbc generate the corresponding "provides"? Otherwise I might do as you suggest and disable the capabilities. /Bengt Den ons 9 mars 2022 kl 21:02 skrev Jean-Baptiste Onofré : > Exactly: maven-bundle-plugin