Re:How We Found a Missing Scala Class
by Quekid5 on Thursday September 13, 2018 @02:22AM
(#17976457)
Fat jars are evil, but there's no need for Docker: Just collect the dependency jars in a lib/ (or whatever) folder and explicitly give them on the classpath when running the 'java' executable. We use the sbt 'pack' plugin where I work and it works a treat.
(Docker has its place, but it's massive overkill just to avoid fat jars.)
(Docker has its place, but it's massive overkill just to avoid fat jars.)