sbt-assembly: How do I include the static files in src/main/webapp
问题 I am using sbtassembly from https://github.com/sbt/sbt-assembly with this merge strategy: mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) => { case PathList("javax", "servlet", xs @ _*) => MergeStrategy.first case PathList(ps @ _*) if ps.last endsWith ".html" => MergeStrategy.first case "application.conf" => MergeStrategy.concat case "unwanted.txt" => MergeStrategy.discard case x => old(x) } } For some reason my static content is not being included in the executable jar, but