title: How to exclude resources during packaging with SBT but not during testing
body: <p>I have a bunch of conf files in a project structure like this:</p>
  
  <p>```</p>
  
  <pre><code>src / main / resources / live.conf
  src / test / resources / test.conf
  </code></pre>
  
  <p>```</p>
  
  <p>I want to excluded live.conf from the artifact that is build when I run sbt one-jar (using the one-jar plugin). I added this line which unfortunately also excludes test.conf when running sbt test:compile</p>
  
  <p><code>
  excludeFilter in Runtime in unmanagedResources := "*.conf"
  </code></p>
  
  <p>How can I exclude live.conf in the artifact jar but not for the tests?</p>