The difference between springboot project packaging .jar and .jar.original with maven

.jar.original It is an ordinary jar package, does not contain dependencies,
.jar is an executable jar package, which contains all the dependencies in the pom, and can be java -jar executed directly with commands


If it’s for deployment, use it. If it’s for other projects , then use this package..jar
.jar.original

 

 

Reprinted from: [mvn packaging] The difference between .jar and .jar.original-expworld-博客园(cnblogs.com)

Guess you like

Origin blog.csdn.net/qq_14997473/article/details/110424307