Error build Play 2.2.0-RC1 and 0.10-SNAPSHOT

897 views
Skip to first unread message

Danny

unread,
Sep 14, 2013, 9:22:25 AM9/14/13
to reacti...@googlegroups.com
Hi All

Is 1.0-SNAPSHOT working with play 2.2.00-RC1 yet?


Using

import play.Project._

name := "web"

version := "1.0-SNAPSHOT"

libraryDependencies ++= Seq(
  jdbc,
  anorm,
  cache,
   "org.reactivemongo" % "play2-reactivemongo" % "0.10-SNAPSHOT"
  )     

playScalaSettings


getting this error 

error] Modules were resolved with conflicting cross-version suffixes in {file:/Users/me/SCALA-SITES3/web/}web:
[error]    org.scala-stm:scala-stm _2.10, _2.10.0
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) Conflicting cross-version suffixes in: org.scala-stm:scala-stm
[error] Total time: 4 s, completed Sep 14, 2013 2:20:40 PM


Danny

unread,
Sep 14, 2013, 9:38:49 AM9/14/13
to reacti...@googlegroups.com
Hi 

Made a mistake I have the following :


import play.Project._

name := "web"

version := "1.0-SNAPSHOT"

resolvers += "Sonatype Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"


libraryDependencies ++= Seq(
  jdbc,
  anorm,
  cache,
   "org.reactivemongo" %% "play2-reactivemongo" % "0.10-SNAPSHOT"
  )     

playScalaSettings




and get :



trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: org.reactivemongo#play2-reactivemongo;0.10-SNAPSHOT: not found
[error] Total time: 4 s, completed Sep 14, 2013 2:32:35 PM
[web] $ 




but is it not there  


Thanks
Danny

Stephane Godbillon

unread,
Sep 16, 2013, 6:04:27 AM9/16/13
to reacti...@googlegroups.com
Hi,

It is published on sonatype snaphots. The link you gave shows play2-reactivemongo 0.10-SNAPSHOT as well :)

--
You received this message because you are subscribed to the Google Groups "ReactiveMongo - http://reactivemongo.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reactivemong...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Taylor Robison

unread,
Sep 17, 2013, 11:29:24 PM9/17/13
to reacti...@googlegroups.com

While trying to move to play 2.2.0-RC2 I'm seeing this as well.

https://oss.sonatype.org/content/repositories/snapshots/org/reactivemongo/reactivemongo_2.10/0.10-SNAPSHOT/

The last publish appears to be from Aug 27, which predates the change to play 2.2.0-RC1.  Perhaps that's causing the error?

Taylor

Danny

unread,
Sep 18, 2013, 3:57:49 AM9/18/13
to reacti...@googlegroups.com
Hi 

On 2.2.0-RC2 I just CANT get it to work :(

I've tried everything, all combinations and adding the jar to the /lib and nothing works :(

Ta
Danny

Stephane Godbillon

unread,
Sep 18, 2013, 6:46:56 AM9/18/13
to reacti...@googlegroups.com
Hi,

I updated the snapshots of ReactiveMongo and the Play plugin. Their dependencies are fixed: now ReactiveMongo depends on iteratees 2.2.0-RC2 and Play-ReactiveMongo depends on Play 2.2.0-RC2.


Please note that the snapshot version is now 0.10.0-SNAPSHOT (and no more 0.10-SNAPSHOT.)

Tell me if it solves your problem.

Cheers,
2013/9/18 Danny <dbms...@gmail.com>

Craig McIntosh

unread,
Sep 20, 2013, 1:52:53 PM9/20/13
to reacti...@googlegroups.com
0.10.0-SNAPSHOT is working great for us with Play2.2-RC2.  

Now that 2.2 is final, what is the timeframe to get a non snapshot version of reactive that works with 2.2?

George Dernovoy

unread,
Sep 25, 2013, 12:13:21 PM9/25/13
to reacti...@googlegroups.com
Using Scala 2.10.2, RM 0.10-SNAPSHOT and Play 2.2.0 causes error:

[error] Modules were resolved with conflicting cross-version suffixes in {file:/
C:/MyProjects/genweb/}app-name:
[error]    org.scala-stm:scala-stm _2.10, _2.10.0
java.lang.RuntimeException: Conflicting cross-version suffixes in: org.scala-stm
:scala-stm

 Is it possible to fix it?

Taylor Robison

unread,
Sep 25, 2013, 2:10:09 PM9/25/13
to reacti...@googlegroups.com

0.10.0-SNAPSHOT
0.10-SNAPSHOT

Notice these two are not the same.  The top one works for me as a version string, the bottom one does not.  You're using the bottom one.  That extra .0 gets you a newer jar with corrected dependencies.

Taylor

Danny

unread,
Sep 27, 2013, 3:59:54 AM9/27/13
to reacti...@googlegroups.com
Hi 

0.10.0-SNAPSHOT works with Play 2.2.0 for me :)

Ta

Stephane Godbillon

unread,
Oct 15, 2013, 3:41:46 AM10/15/13
to reacti...@googlegroups.com
By the way, I removed 0.10-SNAPSHOT artifacts from Sonatype to prevent confusion with 0.10.0-SNAPSHOT (and updated the docs accordingly.)
2013/9/25 Taylor Robison <trob...@gmail.com>

--

Taylor Robison

unread,
Oct 15, 2013, 1:42:05 PM10/15/13
to reacti...@googlegroups.com

Good idea.  I'm guessing you're still working on 10-final bugfixes?  Hows that going?

Taylor

Stephane Godbillon

unread,
Oct 15, 2013, 4:10:43 PM10/15/13
to reacti...@googlegroups.com
Actually I'm still working on 0.10 (cursor refactoring for example).  Things are going pretty well, but there is some work to be done before releasing it.
Also, I'd like to refactor commands since they are not as easily usable as collections are, and not as generic (for example, you have to use the BSON library, which is not the case with collections).  But this may be part of the next version, to enable RM users to rely on a stable version with up-to-date dependencies.
2013/10/15 Taylor Robison <trob...@gmail.com>

Pyry-Samuli Lahti

unread,
Oct 25, 2013, 6:20:21 PM10/25/13
to reacti...@googlegroups.com
Would love to see a stable (non snapshot) release asap. So +1 for making a release in between.
Thanks!

Paul Mogren

unread,
Nov 12, 2013, 1:35:52 PM11/12/13
to reacti...@googlegroups.com
Another vote for play 2.2 compatibility not being hung up on other changes. Thanks
Reply all
Reply to author
Forward
0 new messages