title: Simple scalatest project won't be compiled
body: <p>I'm just following <strong>Scala Cookbook</strong></p>
  
  <p>But if I tried to run basic test, it won't be compiled because of unresolved package library.</p>
  
  <p>Here's my code...</p>
  
  <p><strong>build.sbt</strong></p>
  
  <pre><code>name := "BasicProjectWithScalaTest"
  
  version := "1.0"
  
  scalaVersion := "2.10.3"
  
  libraryDependencies += "org.scalatest" %% "scalatest" % "1.9.+" % "test"
  </code></pre>
  
  <p>*<em>Hello.scala *</em></p>
  
  <pre><code>package com.alvinalexander.testproject
  
  object Hello extends App {
    val p = Person("Avlin Alexander")
    println("Hello from " + p.name)
  }
  
  case class Person(var name: String)
  </code></pre>
  
  <p><strong>HelloTest.scala</strong></p>
  
  <pre><code>package com.alvinalexander.testproject
  
  import org.scalatest.FunSuite
  
  class HelloTests extends FunSuite {
    test("the name is set correctly in constructor") {
      val p = Person("Barney Rubble")
      assert(p.name == "Barne Rubble")
    }
  
    test("a Person's name can be changed") {
      val p = Person("Chad Johnson")
      p.name = "Ochocinco"
      assert(p.name == "Ochocinco")
    }
  }
  </code></pre>
  
  <p>If run run <strong>sbt compile</strong>, it complains...</p>
  
  <pre><code>[info] Set current project to BasicProjectWithScalaTest (in build file:/Users/hongseok/dev/scala/test/)
  [info] Updating {file:/Users/hongseok/dev/scala/test/}test...
  [info] Resolving org.fusesource.jansi#jansi;1.4 ...
  [info] Done updating.
  [info] Compiling 1 Scala source to /Users/hongseok/dev/scala/test/target/scala-2.10/classes...
  [error] /Users/hongseok/dev/scala/test/src/main/scala/HelloTest.scala:3: object scalatest is not a member of package org
  [error] import org.scalatest.FunSuite
  [error]            ^
  [error] /Users/hongseok/dev/scala/test/src/main/scala/HelloTest.scala:5: not found: type FunSuite
  [error] class HelloTests extends FunSuite {
  [error]                          ^
  [error] /Users/hongseok/dev/scala/test/src/main/scala/HelloTest.scala:6: not found: value test
  [error]   test("the name is set correctly in constructor") {
  [error]   ^
  [error] /Users/hongseok/dev/scala/test/src/main/scala/HelloTest.scala:11: not found: value test
  [error]   test("a Person's name can be changed") {
  [error]   ^
  [error] four errors found
  [error] (compile:compile) Compilation failed
  </code></pre>
  
  <p>build.sbt is in test directory, Hello.scala is in test/src/main/scala and HelloTest.scala is in test/src/test/scala</p>
  
  <p>I can find scalatest_2.10-1.9.2.jar in .ivy2 directory.</p>
  
  <p>Why the library could not be resolved?</p>
  
  <p>By the way, I'm using OSX Mountain Lion, sbt 0.13, Scala 2.10.3.</p>