One workaround for now could be to use the 'fixupmessages' instruction to
hide this specific error (or turn it into a warning) and allow creation of
the bundle:

http://bnd.bndtools.org/instructions/fixupmessages.html

You could then add explicit optional imports to your Import-Package
instruction to cover anything missed by not scanning those classes under
META-INF (you may not need to do this if those classes only refer to java.*
JDK packages or packages already referred to by classes in the rest of the
jar)

Reply via email to