On 2017-02-23 02:36, tamal wrote:
Oliver,
"What worked for me
here was instructing maven-hpi-plugin to use pluginFirstClassLoader so
your plugin will prefer the version of guava it bundles rather than the
one core happens to use. Both shading and class masking had subtle
problems. "

Do you have any example or docs that you can point me to? Thank you,

https://jenkinsci.github.io/maven-hpi-plugin/plugin-info.html
https://jenkinsci.github.io/maven-hpi-plugin/hpl-mojo.html#pluginFirstClassLoader
https://github.com/jenkinsci/openstack-cloud-plugin/blob/de02466d84f00eac7260345cc6784f354aabf76a/pom.xml#L117-L123

--
oliver

--
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/cb688c85-e5be-9eff-7b66-a09da3e493e9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to