How to use a thin jar instead of a fat jar?

Posted by HarshithBolar on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/How-to-use-a-thin-jar-instead-of-a-fat-jar-tp23585.html

Hi folks,

 

We're currently deploying our Flink applications as a fat-jar using the maven-shade-plugin. Problem is, each application jar ends up being approximately 130-140 MB which is a pain to build and deploy every time. Is there a way to exclude dependencies and just deploy a thin jar to the cluster which comes up to about 50 kB?

 

Thanks,

Harshith