What is an uber jar?

后端 未结 7 1226
旧时难觅i
旧时难觅i 2020-11-22 10:03

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

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

相关标签:
7条回答
  • 2020-11-22 10:30

    For Java Developers who use SpringBoot, ÜBER/FAT JAR is normally the final result of the package phase of maven (or build task if you use gradle).

    Inside the Fat JAR one can find a META-INF directory inside which the MANIFEST.MF file lives with all the info regarding the Main class. More importantly, at the same level of META-INF directory you find the BOOT-INF directory inside which the directory lib lives and contains all the .jar files that are the dependencies of your application.

    0 讨论(0)
提交回复
热议问题