Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding play2-crud to dependencies caused "Conflicting cross-version" error #30

Closed
mohd874 opened this issue Feb 4, 2014 · 3 comments
Closed

Comments

@mohd874
Copy link

mohd874 commented Feb 4, 2014

I am trying to add play2-crud to my project. However, I am getting "(*:update) Conflicting cross-version suffixes in: org.scala-stm:scala-stm" error.

I am using Play 2.2.1. Below is my build.sbt content:

name := "myApp"

version := "1.0-SNAPSHOT"

libraryDependencies ++= Seq(
  javaJdbc,
  javaEbean,
  cache 
)

libraryDependencies +=  "play2-crud" % "play2-crud_2.10" % "0.7.0"       

resolvers += "release repository" at  "http://hakandilek.github.com/maven-repo/releases/"

resolvers += "snapshot repository" at "http://hakandilek.github.com/maven-repo/snapshots/"

play.Project.playJavaSettings

ebeanEnabled := true

compile in Test <<= PostCompile(Test)

And I added

"resolvers += "njin github repository (snapshots)" at "http://njin-fr.github.com/repository/snapshots"" 

to my plugin.sbt.

Is this a known issue? I googled the whole day with no result.

@hakandilek
Copy link
Owner

You can add the deps by excluding conflicting deps.

"play2-crud" % "play2-crud_2.10" % "0.7.3-SNAPSHOT" exclude("com.typesafe.play", "play-cache_2.10"),

@Raidok
Copy link

Raidok commented Nov 4, 2014

Worked for me, thanks! 👍

@hakandilek
Copy link
Owner

great! thanks for testing. I'm closing this one then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants