Maven Shade Plugin - How to Shade

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Maven Shade Plugin - How to Shade

Manish Maheshwari

Quick help - This is the first time i am using the shade plugin. I saw the
shading documentation here -  but could not figure out which transformer
should I use -

My requirement is this - I am using Apache Spark 1.6 that has a dependency
on JPMML 1.1.15 as documented here -

*      <artifactId>pmml-model</artifactId>*
*      <version>1.1.15</version>*

My code uses org.jpmml version 1.2.6

Now my shade pom snippet looks like -


But this does not work as intended and my package fails. Any idea what is
missing here.