java - How can I use a different version of a package from the one required by a dependency? -
I am trying to create an OSGI bundle, and IAM is running in the following problem: Let's call my plugin "PA" ??? Now, P has dependency on another plug-in; Line ??? It needs to use some of the interfaces it has exported. At the same time, I want to use version 2 of the library. Plugin in P. However, it uses DL, apart from it depends on version 1 of the library. Version 1 is provided by the container. The point is that none of the classes and interfaces of LC are visible anywhere in the DPI (at least none using the IA). That is, P and D use sections from each internal class, but they never exchange. Therefore, as far as I can tell, for each of them to be completely safe to use different versions of L, unless I provide my copy of Lv2, I It can not understand how it is working for its life. Here I have what: PAC's PM.XML is a ??? ? Providedâ ???? D dependence, and a compilation Dependence L I am not the source of D, but the OSGI tells me that there is an impor...