Is it possible to use the sbt-assembly
and sbt-native-packager
plugins to create a java application archetype installation that instead of having the project jar and its dependencies in <app>/lib
contains just the assembly jar?
I've built a Spark application and I want to add the assembly to the context rather than adding each jar individually.
Edit: I need to build deb packages for deployment. I want the deb package to contain the assembly not the project & dependent jars.
The filesystem layout should be
<install_dir>
bin
appname
conf
application.conf
lib
appname-assembly.jar
sbt-native-packager adds a symlink to /usr/bin which is convenient but not necessary.