ReactiveMongo/Play-ReactiveMongo

error when installing 0.10-SNAPSHOT with play 2.2.0

Closed this issue · 3 comments

don@Inspiron:~/dev/asdfwewfe$ ../../Applications/play-2.2.0/play run
[info] Loading project definition from /home/don/dev/asdfwewfe/project
[info] Set current project to asdfwewfe (in build file:/home/don/dev/asdfwewfe/)
[info] Updating {file:/home/don/dev/asdfwewfe/}asdfwewfe...
[info] Resolving org.reactivemongo#reactivemongo-bson-macros_2.10;0.10-SNAPSHOT [info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[error] Modules were resolved with conflicting cross-version suffixes in {file:/home/don/dev/asdfwewfe/}asdfwewfe:
[error] org.scala-stm:scala-stm _2.10.0, _2.10
java.lang.RuntimeException: Conflicting cross-version suffixes in: org.scala-stm:scala-stm
at scala.sys.package$.error(package.scala:27)
at sbt.ConflictWarning$.processCrossVersioned(ConflictWarning.scala:47)
at sbt.ConflictWarning$.apply(ConflictWarning.scala:30)
at sbt.Classpaths$$anonfun$61.apply(Defaults.scala:1027)
at sbt.Classpaths$$anonfun$61.apply(Defaults.scala:1027)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
error Conflicting cross-version suffixes in: org.scala-stm:scala-stm
[error] Total time: 6 s, completed Sep 26, 2013 6:06:27 PM

seems like ReactiveMongo 0.10-SNAPSHOT still depends on play 2.1.0 which depends on stm 0.6.
snapshot repository not updated recently?

With play 2.2.x, you should use the 0.10.0-SNAPSHOT.

@plestoon @ojacquemart is right, you should use 0.10.0-SNAPSHOT, not 0.10-SNAPSHOT. README.md was misleading, I just fixed that. (35dd4f3).