I'm quite new to bundling OSGi packages with the maven-bundle-plugin respectively BND. I have some bundle exports in my pom.xml like this one:
This works when I deploy my bundle on Karaf 4. But when I reference the class com.example.a.b.Test, e.g. in a config name attribute of a feature in a Karaf feature descriptor IDEA complains that:
The package 'com.example.a.b' is not exported by the bundle dependencies. This isn't true because of the wildcard.
If I additionally export com.example.a.b explicitly the warning goes away.
Is this an issue between IDEA and BND or am I doing something wrong?