title: Selectively include dependencies in JAR
body: <p>I have a library that I wrote in Scala that uses Bouncy Castle and has a whole bunch of dependencies. When I roll a jar, I can either roll a "fat" jar that has <em>all</em> the dependencies (including scala), which weighs in around 19 MB, or I can roll a skinny jar, which doesn't have dependencies, but is only a few hundred KB. </p>
  
  <p>The problem is that I need to include the Bouncy Castle classes/jar with my library, because if its not on the classpath at runtime, all kinds of exceptions get thrown. </p>
  
  <p>So, I think the ideal situation is if there is some way that I can get either Maven or SBT to include <em>some</em> but not <em>all</em> dependencies in the jar that gets rolled. Some dependencies are needed at compile-time, but <em>not</em> at run time, such as the Scala standard libraries.  Is there some way to get that to happen?</p>
  
  <p>Thanks!</p>