git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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