It should work with escape char.
> Le 6 mai 2021 à 11:26, Benjamin Graf <benjamin.g...@gmx.net> a écrit : > > > 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" <j...@nanthrax.net> > 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 <benjamin.g...@gmx.net> a écrit : > > 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" <j...@nanthrax.net> > An: "user" <user@karaf.apache.org> > Betreff: Re: Issue with wrapping jar bundle > 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, Benjamin Graf <benjamin.g...@gmx.net> a écrit : > > 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 > >