playframework / play-slick

Slick Plugin for Play
Apache License 2.0
804 stars 282 forks source link

Conflicting cross-version suffixes in: org.scala-stm:scala-stm #93

Closed guozhaolong closed 11 years ago

guozhaolong commented 11 years ago

my Build.scala val appDependencies = Seq( // Add your project dependencies here, "org.mindrot" % "jbcrypt" % "0.3m", "securesocial" %% "securesocial" % "master-SNAPSHOT", "se.radley" %% "play-plugins-salat" % "1.3.0", "com.clever-age" % "play2-elasticsearch" % "0.7-SNAPSHOT", "com.feth" %% "play-easymail" % "0.2-SNAPSHOT" )

val main = play.Project(appName, appVersion, appDependencies).settings( // Add your own project settings here resolvers += "jbcrypt repo" at "http://mvnrepository.com/", resolvers += Resolver.url("sbt-plugin-snapshots", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns), routesImport += "se.radley.plugin.salat.Binders._", templatesImport += "org.bson.types.ObjectId", resolvers += Resolver.sonatypeRepo("snapshots"), resolvers += Resolver.url("play-easymail (release)", url("http://joscha.github.com/play-easymail/repo/releases/"))(Resolver.ivyStylePatterns), resolvers += Resolver.url("play-easymail (snapshot)", url("http://joscha.github.com/play-easymail/repo/snapshots/"))(Resolver.ivyStylePatterns), resolvers += Resolver.url("play-plugin-releases", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns), resolvers += Resolver.url("play-plugin-snapshots", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns) )

freekh commented 11 years ago

Which version of play are you using?

prakhunov commented 11 years ago

It looks like he using Play 2.2 but this isn't a bug with play-slick but some sort of bug of people updating to 2.2 .

It's discussed more here:

https://groups.google.com/forum/#!topic/play-framework/jJ1WCsU8O7c

freekh commented 11 years ago

Ah, thx for the comment! I am pretty sure this is related to some transitive dependency dragging in the wrong version scala-stm, so I would have a look at my dependencies.

Closing this bug since it is not believed to be play-slick specific. Reopen if you disagree