unresolved dependency: org.reactivecouchbase#reactivecouchbase-core_2.10;0.2-SNAPSHOT: not found
gmarizy opened this issue · comments
When executing 'play run' within the couchbase sample, targeting version 2.0-SNAPSHOT, I got this error:
sbt.ResolveException: unresolved dependency: org.reactivecouchbase#reactivecouchbase-core_2.10;0.2-SNAPSHOT: not found
It's a minor problem, a very easy work-around consist in manually adding ReactiveCouchbase repository.
For example, my Build.scala looks like:
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
val appName = "sample"
val appVersion = "1.0-SNAPSHOT"
val mandubianRepo = Seq(
"ReactiveCouchbase Snapshots" at "https://raw.github.com/ReactiveCouchbase/repository/master/snapshots/",
"Mandubian repository snapshots" at "https://github.com/mandubian/mandubian-mvn/raw/master/snapshots/",
"Mandubian repository releases" at "https://github.com/mandubian/mandubian-mvn/raw/master/releases/"
)
val appDependencies = Seq()
val main = play.Project(appName, appVersion, appDependencies).settings(
resolvers ++= mandubianRepo,
libraryDependencies ++= Seq(
"play-autosource" %% "couchbase" % "2.0-SNAPSHOT" exclude("org.scala-stm", "scala-stm_2.10.0")
)
)
}
I tested pull request #40, it works.
I may be wrong, but I think a small bug remain. ReactiveCouchbase repository is already declared in this file: https://github.com/mandubian/play-autosource/blob/master/project/Build.scala line 101, why is this declaration not taken in account ?