title: How to get sbteclipse working with Scala 2.9
body: <p>I am playing with the spray template project and Scala 2.9.0.1.</p>
  
  <p>I want to work with Eclipse and so I've added the following lines to the build.sbt file
  of the spray template project.</p>
  
  <pre><code>resolvers += {
    val typesafeRepoUrl = new java.net.URL("http://repo.typesafe.com/typesafe/releases")
    val pattern = Patterns(false, "    [organisation]/[module]/[sbtversion]/[revision]/[type]s/[module](-[classifier])-[revision].    [ext]")
    Resolver.url("Typesafe Repository", typesafeRepoUrl)(pattern)
  }
  
  libraryDependencies &lt;&lt;= (libraryDependencies, sbtVersion) { (deps, version) =&gt; 
     deps :+ ("com.typesafe.sbteclipse" %% "sbteclipse" % "1.3-RC2" extra("sbtversion" -&gt;    version))
  }
  </code></pre>
  
  <p>I always get this error:</p>
  
  <p>com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.3-RC2: not found</p>
  
  <p>Of course the directory at the typesafe server does not exist. There is only:
  <a href="http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.8.1/" rel="nofollow">http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.8.1/</a>
  but sbt is trying to get:</p>
  
  <p><a href="http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.3-RC2/jars/sbteclipse_2.9.0-1-1.3-RC2.jar" rel="nofollow">http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.3-RC2/jars/sbteclipse_2.9.0-1-1.3-RC2.jar</a></p>
  
  <p>I figured out that 2.8.1 is the scala version sbt uses internaly. But my
  sbt version (0.10) uses the scala version set in the build.sbt (scalaVersion := "2.9.0-1") to build the url to download sbteclipse.</p>
  
  <p>Does anyone know how to set this up correctly? How do I tell the build.sbt file that I want to use Scala 2.9 but to look for the sbteclipse plugin at the correct URL?</p>
  
  <p>Are there any plans to include something like sbteclipse to the sbt standard distribution? That would be more than welcome and probably help a lot of beginners with Scala, sbt and  Eclipse.</p>
  
  <p>Claus</p>