Replies: 1 comment 2 replies
-
Just in case I can only recommend migrating to
The usual way is to either create a feature with proper requirements or using p2.inf if you are talking about Eclipse/P2 managed environment.
By default, only optional requirements are produced, even if they are required the actually only require any implementation but not that implementation. |
Beta Was this translation helpful? Give feedback.
-
I am looking at consuming artifacts directly from Maven instead of Orbit. The artifacts contain of two elements:
Currently in the OSGi manifest of my bundle I import only the package
javax.xml.bind
.Anyone has any guidance/tips for how to ensure that the target environment my bundles get installed to will have both - the JAXB api and the implementation available?
Does the Maven support know about those common cases and create proper OSGi headers so the API depends on Impl?
Should I include the generated bundles in my feature to be sure?
Beta Was this translation helpful? Give feedback.
All reactions