in a RCP/EclipseLink(OSGi bundles) project I'm using static bytecode
weaving. The bytecode enhancements leeding to additional dependencies
(e.g.
org.eclipse.persistence.core/org.eclipse.persistence.internal.weaving.PersistenceWeaved).
As good OSGi citizen I specifiy all my bundle dependencies as imported
packages. Now I'm in doubt if it wouldn't be better to specify such
dependencies as required plugins particulary as the process to detect
any package dependency at runtime and specify it is very painful. Are
there best practises how to get on with such dependencies in Eclipse?