I use package task (from xsbt-web-plugin) to package a project to a war, and assembly task (from sbt-assembly) to package the project to a jar.
I have a multi-module build and some modules are packaged into wars and some into jars.
I'd like to set up the build to execute assembly task and:
- Jar modules are packaged into jar files
- War modules are packaged into war files
How to execute package task for the war projects while executing assembly task?
Both
packagetask andassemblytask evaluate toFiletype, so as @James commented you should be able to rewireassemblytask in webapp project to runpackageinstead.