title: How do I resolve my own test artifacts in SBT?
body: <p>One of my projects will provide a jar package supposed to be used for unit testing in several other projects. So far I managed to make sbt produce a <code>objects-commons_2.10-0.1-SNAPSHOT-test.jar</code> and have it published in my repository. </p>
  
  <p>However, I can't find a way to tell sbt to use that artifact with the testing scope in other projects. </p>
  
  <p>Adding the following dependencies in my build.scala will not get the test artifact loaded. </p>
  
  <pre><code>"com.company" %% "objects-commons" % "0.1-SNAPSHOT",
  "com.company" %% "objects-commons" % "0.1-SNAPSHOT-test" % "test",
  </code></pre>
  
  <p>What I need is to use the default .jar file as compile and runtime dependency and the -test.jar as dependency in my test scope. But somehow sbt never tries to resolve the test jar.</p>