tuxBurner / play-neo4jplugin

Neo4J Plugin for Play 2.4
39 stars 11 forks source link

play 2.3: unresolved dependencies,com.github.tuxBurner#play-neo4jplugin_2.11;1.3.5: not found #11

Closed grapevine-phonegap closed 10 years ago

grapevine-phonegap commented 10 years ago

"org.neo4j" % "neo4j-rest-graphdb" % "2.0.1", "net.sf.opencsv" % "opencsv" % "2.3", can be resolved, only "com.github.tuxBurner" %% "play-neo4jplugin" % "1.3.5" get problem. my sbt file:

resolvers += "tuxburner.github.io" at "http://tuxburner.github.io/repo"

resolvers += "Neo4j" at "http://m2.neo4j.org/content/repositories/releases/"

name := """my project"""

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayJava)

scalaVersion := "2.11.1"

libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, javaWs, "commons-io" % "commons-io" % "2.3", "org.neo4j" % "neo4j-rest-graphdb" % "2.0.1", "net.sf.opencsv" % "opencsv" % "2.3", "com.github.tuxBurner" %% "play-neo4jplugin" % "1.3.5" )

grapevine-phonegap commented 10 years ago

My error message is:

[warn] ==== tuxburner.github.io: tried [warn] http://tuxburner.github.io/repo/com/github/tuxBurner/play-neo4jplugin/1 .3.5/play-neo4jplugin-1.3.5.pom [warn] ==== Neo4j: tried [warn] http://m2.neo4j.org/content/repositories/releases/com/github/tuxBurner/ play-neo4jplugin/1.3.5/play-neo4jplugin-1.3.5.pom

[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.github.tuxBurner#play-neo4jplugin;1.3.5: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [trace] Stack trace suppressed: run last :update for the full output. [error](:update) sbt.ResolveException: unresolved dependency: com.github.tuxBu rner#play-neo4jplugin;1.3.5: not found [error] Total time: 10 s, completed Jul 16, 2014 5:10:38 PM

Any one can help please.

tuxBurner commented 10 years ago

@grapevine-phonegap uuuh okay. Well i didnt checked out the plugin with play 2.3.

http://tuxburner.github.io/repo/com/github/tuxBurner/play-neo4jplugin_2.10/1.3.5/play-neo4jplugin_2.10-1.3.5.pom is actually the correct path.

Dont know why play 2.3 is trying to use a different path.

I check it out

tuxBurner commented 10 years ago

@grapevine-phonegap okay got the stuff compiling and running for 2.3.

Now i have to make a new sample project, after meal :)

Prepare for a release ton8

tuxBurner commented 10 years ago

Hi @grapevine-phonegap, i got it done for Play: 2.3. You have to use the new Version 1.3.6. The only drawback is, that neo4j brings scala for its cypher implementation. So you have to set the scala version to: 2.10.4 as you can see in the sample project: https://github.com/tuxBurner/play-neo4jplugin/blob/master/examples/play-2.3-neo4j-template/build.sbt.

I already opened a ticket to lift to scala 2.11.1 when neo4j lifts the scala version. I hope it is running for you now have fun.

grapevine-phonegap commented 10 years ago

Thank you, everything is working fine now.