2014-06-30 108 views
0

我試圖用遊戲進行身份驗證和死栓插件的樣片播放Framework應用程序未解決依賴於遊戲框架

我build.sbt看起來像這樣

scalaVersion:=「2.11.0」

libraryDependencies ++= Seq(
    javaJdbc, 
    javaEbean, 
    cache, 
    javaWs, 
    "be.objectify" %% "deadbolt-java" % "2.3.0-RC1", 
    "com.feth"  %% "play-authenticate" % "0.6.1-SNAPSHOT" 

resolvers ++= Seq(
Resolver.url("Objectify Play Repository (release)", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns), 
Resolver.url("Objectify Play Repository (snapshot)", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns), 
Resolver.url("play-easymail (release)", url("http://joscha.github.com/play-easymail/repo/releases/"))(Resolver.ivyStylePatterns), 
Resolver.url("play-easymail (snapshot)", url("http://joscha.github.com/play-easymail/repo/snapshots/"))(Resolver.ivyStylePatterns), 
Resolver.url("play-authenticate (release)", url("http://joscha.github.com/play-authenticate/repo/releases/"))(Resolver.ivyStylePatterns), 
Resolver.url("play-authenticate (snapshot)", url("http://joscha.github.com/play-authenticate/repo/snapshots/"))(Resolver.ivyStylePatterns) 

但我收到以下錯誤 sbt.ResolveException:未解析的依賴性:com.feth#播放authenticate_2.11; 0.6.1-快照:未發現

回答

2

this sample project,更新您的resolvers到以下:

resolvers ++= Seq(
    Resolver.url("Objectify Play Repository (release)", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns), 
    Resolver.url("Objectify Play Repository (snapshot)", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns), 
    "play-easymail (release)" at "http://joscha.github.io/play-easymail/repo/releases/", 
    "play-easymail (snapshot)" at "http://joscha.github.io/play-easymail/repo/snapshots/", 
    "play-authenticate (release)" at "http://joscha.github.io/play-authenticate/repo/releases/", 
    "play-authenticate (snapshot)" at "http://joscha.github.io/play-authenticate/repo/snapshots/" 
) 
+0

謝謝,工作.. – Soumya