I installed typeafe-stack from http://typesafe.com/stack/download on my ubuntu12, than created a play project (g8 typesafehub / play-scala), and now I want to add scalatest or scalacheck to my project.
So my_app / project / plugins.sbt has the following lines:
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
addSbtPlugin("play" % "sbt-plugin" % "2.0.1")
Then I added scalatest using addSbtPlugin:
addSbtPlugin("org.scalatest" %% "scalatest" % "2.0.M1" % "test")
and now it does not work with the following message when I run 'sbt test'
[info] Resolving org.scalatest#scalatest;2.0.M1 ...
[warn] module not found: org.scalatest#scalatest;2.0.M1
[warn] ==== typesafe-ivy-releases: tried
[warn] http:
[warn] ==== local: tried
[warn] ~/.ivy2/local/org.scalatest/scalatest/scala_2.9.1/sbt_0.11.3/2.0.M1/ivys/ivy.xml
[warn] ==== Typesafe repository: tried
[warn] http:
[warn] ==== typesafe-ivy-releases: tried
[warn] http:
[warn] ==== public: tried
[warn] http:
: http://repo.typesafe.com/typesafe/releases/org/scalatest/scalatest_2.9.1_0.11.3/2.0.M1/scalatest-2.0.M1.pom URL http://repo.typesafe.com/typesafe/releases/org/scalatest/scalatest_2.9.1/2.0.M1/scalatest_2.9.1-2.0.M1.pom?
, scalageck: sbt- artifactId, scala -.
? , sbt - , sbt- URL- ?
.sbt
libraryDependencies += "org.scalatest" %% "scalatest" % "2.0.M1" % "test"
, sbt scalatest.jar :
my_app/test/AppTest.scala:1: object scalatest is not a member of package org
[error] import org.scalatest.FunSuite
sbt clean && sbt org.easytesting # fest-util, 1.1.6 , scalatest.
scala 2.9.1 sbt 0.11.3, scalatest 2.0.M1 1.8; scalacheck:
resolvers ++= Seq(
"snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"releases" at "http://oss.sonatype.org/content/repositories/releases"
)
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.9" % "test"
)
, URL- URL- sbtVersion, .
? .