title: How to define Jackson databinding dependency in build.sbt?
body: <p>I want to use the <a href="http://wiki.fasterxml.com/JacksonDataBinding" rel="nofollow">Jackson databinding API</a> in a Scala/Java project, that is managed by sbt. The Jackson dependency should be as slim as possible, no Scala stuff etc.</p>
  
  <p>How do I depend on Jackson 2.4 from <code>build.sbt</code>?</p>
  
  <p>Jackson will be used like this from my code:</p>
  
  <pre><code>import com.fasterxml.jackson.databind.ObjectMapper;
  
  ObjectMapper mapper = new ObjectMapper();
  mapper.writeValue(dst, myBean);
  </code></pre>