Last time I checked bnd did not support custom property annotations. There is a solution in the upcoming DS R7 draft that was presented at OSGi CE by Carsten Ziegeler. I believe bnd support will come then.
If you're like me and can't wait, unless there's now first class support, you can use my bnd plugin: http://lambdacube.github.io/bnd-dsap-plugin/
Right now it is not tested with bnd's latest version (and bnd does not provide any guarantee of API compatibility) but it worked on recent versions (3.1 being the latest I tried) and it is trivial to fix it there is a problem.
It has a few gotchas (notably because of some limitations in bnd 3.0 annotation support) but it will do exactly what you want.
It is very easy to get started and you can smoothly move to future DS R7 annotation if you name your property keys in the same way DS does with annotation configuration objects.
Hope this helps,
Simon
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.