Hi Jesse,

Thanks, I'm gonna look into this multimodule project, see if I can make it
work.

Is `pluginFirstClassLoader` an acceptable tradeoff or am I still better off
making shading work ?

Le mer. 19 août 2020 à 22:04, Jesse Glick <[email protected]> a écrit :

> On Mon, Aug 17, 2020 at 8:35 AM Goyot, Martin <[email protected]>
> wrote:
> > I have an issue with a dependency on my plugin and would like to shade
> it.
>
> In my experience you need to switch to a multimodule (reactor)
> project, with one helper module that shades the lib, and then depend
> on the helper module from your plugin.
>
> `artifact-manager-s3` has a dep on newer Guava using
> `pluginFirstClassLoader`, though this forms its own type of hell.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr07mhUiGBj1nGLMpZXkcAfVrYUX2N2kWVyZBqdrLzVzUQ%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CA%2Bb6JB_8xvpKOnRHsmRB7TOb0Zneg3BrN-bg-XZGN0eJ0AC5zg%40mail.gmail.com.

Reply via email to