Re: Issue with wrapping jar bundle

2021-05-06 Thread JB Onofré
. Mai 2021 um 11:11 Uhr > Von: "Jean-Baptiste Onofre" > An: user@karaf.apache.org > Betreff: Re: Issue with wrapping jar bundle > Did you try Import-Package=!java.io,* ? > > Regards > JB > > Le 6 mai 2021 à 10:45, Benjamin Graf a écrit : > > Hi JB, &g

Aw: Re: Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi JB,   does this work in feature description xml? This more looks like maven-bundle-plugin config.   Regards Benjamin   Gesendet: Donnerstag, 06. Mai 2021 um 11:11 Uhr Von: "Jean-Baptiste Onofre" An: user@karaf.apache.org Betreff: Re: Issue with wrapping jar bundle Did you

Re: Issue with wrapping jar bundle

2021-05-06 Thread Jean-Baptiste Onofre
> > Regards > Benjamin > > > Gesendet: Donnerstag, 06. Mai 2021 um 09:25 Uhr > Von: "Jean-Baptiste Onofre" > An: "user" > Betreff: Re: Issue with wrapping jar bundle > Hi Benjamin, > > You can exclude the java.io <http://ja

Aw: Re: Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi JB,   yes still using 4.2.11. What's the correct syntax to exclude the generation of java.io import in wrap:mvn:... feature statement?   Regards Benjamin     Gesendet: Donnerstag, 06. Mai 2021 um 09:25 Uhr Von: "Jean-Baptiste Onofre" An: "user" Betreff: Re: Iss

Re: Issue with wrapping jar bundle

2021-05-06 Thread Jean-Baptiste Onofre
Hi Benjamin, You can exclude the java.io import. Anyway, I guess you are not using Karaf 4.3.1: I fixed the issue on this release with https://issues.apache.org/jira/browse/KARAF-7012 Regards JB > Le 6 mai 2021 à 08:10,

Issue with wrapping jar bundle

2021-05-06 Thread Benjamin Graf
Hi, what can I do if wrapping a jar generates import for osgi package "java.io" which can not be resolved. I recognized this issue with actual oracle ojdbc11 driver. The same works with sibling ojdbc8. Thanks for help :) Regards Benjamin OpenPGP_signature Description: OpenPGP digital