2012-08-08 55 views
0

我試圖在Play 2.0中使用Play-jongo https://github.com/alexanderjarvis/play-jongo。 Build.scala看起來像這樣。Play-jongo無法解析的依賴關係

val appDependencies = Seq(
    "uk.co.panaxiom" %% "play-jongo" % "0.2" 
) 

val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
    resolvers += ("GitHub Play Repository" at "http://alexanderjarvis.github.com/releases/")  
) 

但是,Play似乎無法找到依賴關係。

[warn] ==== GitHub Play Repository: tried 
[warn] http://alexanderjarvis.github.com/releases/uk/co/panaxiom/play-jongo_2.9.1/0.2/play-jongo_2.9.1-0.2.pom 

...

[error] {file:/home/steven/Projects/project-escape/server_play2/}Perk/*:update: sbt.ResolveException: unresolved dependency: uk.co.panaxiom#play-jongo_2.9.1;0.2: not found 

任何人都知道庫是什麼?

謝謝

+1

存儲庫佈局很奇怪,您應該向Github上的作者提出問題。 – 2012-08-08 05:58:21

+0

謝謝,這裏增加了一個問題 https://github.com/alexanderjarvis/play-jongo/issues/1 – stevew 2012-08-08 06:58:15

回答

1

根據模塊的作者使用此解析器。

resolvers += Resolver.url("My GitHub Play Repository", url("http://alexanderjarvis.github.com/releases/"))(Resolver.ivyStylePatterns)