scala - Include Dependencies in JAR using SBT package -


apparently project dependencies not being packaged jar generated by:

sbt package 

how can dependencies included?

there's project called onejar package project , dependencies single jar file. there sbt plugin well:

https://github.com/sbt/sbt-onejar

however if you're looking create standard package (deb, rpm, etc.) there sbt-native-packager:

https://github.com/sbt/sbt-native-packager

it can place dependencies linux package , add appropriate wrappers load dependencies , start program or service.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -