hakandilek / play2-crud

Simple CRUD & DAO implementation for play2
Other
142 stars 52 forks source link

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

Closed mohd874 closed 9 years ago

mohd874 commented 10 years ago

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 commented 10 years ago

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 commented 9 years ago

Worked for me, thanks! :+1:

hakandilek commented 9 years ago

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