Q: My test is not running and the console only tells me Main class aQute.launcher.Launcher could not be loaded. What could be the reason.

A: This is usually the case if you have a invalid run configuration. Try resolving you run config and resolve the issues here. Don’t forget to add the ${junit} and ${mockito} entries in the runbundles afterwards if you are using bnd 3.4 or older.


Q: How can I use @ProviderCapability and @RequireCapability Annotations?

A: Add the bundle biz.aQute.bnd.annotation to your bnd.bnd. It can be found in the latest release version in maven central. Note: These Annotations will move with R7 directly in the osgi spec and bundles and will be supported directly by bnd.