Hi Jérémie,

you can provide the jre.properties from a kar resources or even a
regular resource folder.

You can then override it.

Regards
JB

On 16/01/2019 20:40, J. Brebec wrote:
> Hello,
> 
> I'd like to install dropwizard/metrics v4 into karaf, but this bundle has a 
> dependency on "com.sun.management". this package is implemented by the jdk, 
> and all works fine if I add it to the jre.properties.
> 
> However, this configuration file is regularly updated in Karaf, and I would 
> prefer not to touch it. What is the recommanded way to customize the packages 
> exported by the JRE in Karaf ? I didn't find profiles properties or a 
> custom.properties which can impact this behavior. I use Karaf 4.2.2
> 
> Regards,
> Jérémie
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to