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" <[email protected]>
An: [email protected]
Betreff: Re: Issue with wrapping jar bundle
Von: "Jean-Baptiste Onofre" <[email protected]>
An: [email protected]
Betreff: Re: Issue with wrapping jar bundle
Did you try Import-Package=!java.io,* ?
Regards
JB
Le 6 mai 2021 à 10:45, Benjamin Graf <[email protected]> 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?RegardsBenjaminGesendet: Donnerstag, 06. Mai 2021 um 09:25 Uhr
Von: "Jean-Baptiste Onofre" <[email protected]>
An: "user" <[email protected]>
Betreff: Re: Issue with wrapping jar bundleHi 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-7012RegardsJBLe 6 mai 2021 à 08:10, Benjamin Graf <[email protected]> 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
