This must be a big problem for you actually. Can you use isolated ClassLoader, set Context ClassLoader in current Thread and back the origin, reflectively create a new instance of a factory and build an object which runs your code during the plugin execution? When the plugin's job has finally finished replace CL in current Thread.
On Fri, Jan 19, 2018 at 1:18 PM, Romain Manni-Bucau <[email protected]> wrote: > Hi guys, > > cdi-api is still in maven lib and breaks any plugin using it since it is an > old version, can it be dropped or at least isolated from plugin > classloaders? > > Thanks, > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/ > rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> >
