Play-jongo未解决依赖

时间:2012-08-08 02:48:02

标签: mongodb playframework playframework-2.0 jongo

我正在尝试将Play-jongo https://github.com/alexanderjarvis/play-jongo与Play 2.0一起使用。 Build.scala看起来像这样。

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 个答案:

答案 0 :(得分:1)

根据模块的作者将其用于解析器。

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