what is uber jar?

I am reading Maven documentation and came across the name 'uber-jar'.

What does an uber-jar mean and what are its features/advantages? .


An uber-jar is an "over-jar", defined as one that contains both your package and all its dependencies in one single JAR file.

The advantage is that you can distribute your uber-jar and not care at all whether or not dependencies are installed at the destination, as your uber-jar actually has no dependencies.

All the dependencies of your own stuff within the uber-jar are also within that uber-jar.

Post a Reply
Captcha Image