title: Getting JavaCV 0.9 platform binaries to download automatically with SBT
body: <p>I have an SBT application that is using JavaCV on Windows.</p>
  
  <p>My build.sbt brings in JavaCV and its dependencies using:</p>
  
  <pre><code>classpathTypes += "maven-plugin"
  
  libraryDependencies += "org.bytedeco" % "javacv" % "0.9"
  </code></pre>
  
  <p>This pulls JavaCV and its dependents (JavaCPP), but it isn't pulling the JAR with the platform specific libraries (opencv-windows-x86_64.jar).  This allows me to build, but I get "UnsatisfiedLinkError: no jniopencv_core in java.library.path"</p>
  
  <p>Based on <a href="http://www.warski.org/blog/2014/01/using-javacv-with-sbt" rel="nofollow">http://www.warski.org/blog/2014/01/using-javacv-with-sbt</a> I also tried</p>
  
  <pre><code>libraryDependencies += "org.bytedeco" % "javacv" % "0.9" classifier "windows-x86_64"
  </code></pre>
  
  <p>SBT fails trying to resolve that dependency because it is looking for  <a href="http://repo1.maven.org/maven2/org/bytedeco/javacv/0.9/javacv-0.9-windows-x86_64.jar" rel="nofollow">http://repo1.maven.org/maven2/org/bytedeco/javacv/0.9/javacv-0.9-windows-x86_64.jar</a> which doesn't exist.</p>
  
  <p>If I copy opencv-windows-x86_64.jar to the lib directory then everything works, but that defeats the point of using a dependency manager.</p>
  
  <p>Does anyone know how to make SBT properly resolve the platform specific jars for JavaCV 0.9?</p>