different plug-ins may depend on different third party libraries. for example : plug-in A needs lo开发者_C百科g4j, plug-in B needs dom4j, plug-in C needs log4j and dom4j. what is the best practice to manage these dependencies ? If we let plug-in provider manage dependencies themself, then how can we avoid duplicated dependency ?
I recommend using the Eclipse Orbit project. It provides most of the common 3rd party libraries that plugin developers want to use as OSGi bundles that can be easily installed into your target platform to develop against. And then when you are publishing your updatesite you can add these bundles there as well.
Here is the detailed list of 3rd party libraries that are available in the orbit repository.
精彩评论