Setting a package-specific OSGi "consumer policy"

Hi,

I am trying to tweak the “consumer policy” for certain packages, and am following the documentation I found here about adding an extra option to the Import-Package instruction. This works, but it has the unfortunate side-effect of generating unnecessary warnings if a particular bundle doesn’t happen to use any of the packages that need the new consumer policy in the first place.

Is there another means of setting such a consumer policy without all of these warnings please? Or maybe a way of telling Bnd that this instruction is just general configuration and so doesn’t need to generate any warnings?

Thanks for any advice,
Cheers,
Chris

P.S. Yes, I am aware of -fixupmessages, but

-fixupmessages 'Unused Import-Package instructions';is:=ignore

would be far too brutal a solution since I would only want to ignore some packages.