title: How to create executable single jar which include webapp resources by sbt-assembly with scalatra
body: <p>I'm making webapp using scalatra framework via sbt &amp; xsbt-web-plugin.</p>
  
  <p>I want to package all resources(templates, css, js) into a single jar.</p>
  
  <p>In sbt with sbt-assembly plugin, <code>assembly</code> command makes single jar which includes all of project's dependencies.</p>
  
  <p><code>$ java -jar myproject.jar</code></p>
  
  <p>and I open it in browser</p>
  
  <blockquote>
    <p>Could not load resource: [/WEB-INF/views/index.scaml]; are you sure it's within [null]?</p>
  </blockquote>
  
  <p>I unzipped jar to confirm that it does not include <code>src/main/webapp/*</code>.</p>
  
  <p>How can I config sbt for including <code>src/main/webapp/*</code> and building executable jar?</p>