title: How to exclude commons-logging from a scala/sbt/slf4j project?
body: <p>My scala/sbt project uses grizzled-slf4j and logback. A third-party dependency uses Apache Commons Logging.</p>
  
  <p>With Java/Maven, I would use jcl-over-slf4j and logback-classic so that I can use logback as the unified logging backend.</p>
  
  <p>I would also eliminate the commons-logging dependency that the third-party lib would let sbt pull in. I do the following in Maven (which is recommended by <a href="http://www.slf4j.org/faq.html#excludingJCL" rel="noreferrer">http://www.slf4j.org/faq.html#excludingJCL</a>):</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;commons-logging&lt;/groupId&gt;
      &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
      &lt;version&gt;1.1.1&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And the question is, how to do the same with sbt?</p>