30 October 2017

This the command that I use when I want to see what dependencies got bundled into my Spring Boot distribution JAR files:

 jar -tvf filename.jar | grep jar$ | awk '{print $8}' | sed 's/BOOT-INF\/lib\///' | sort

Brian Matthews