2014-02-23 59 views
3

我嘗試使用下面的圖書館在我的播放應用:https://github.com/NET-A-PORTER/scala-uri試圖增加斯卡拉-URI插件播放框架

我已經添加它./build.sbt如下:

libraryDependencies ++= Seq(
    "com.netaporter" %% "scala-uri" % "0.4.0", 
    ... 

但是我得到以下錯誤:

[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] ::   UNRESOLVED DEPENDENCIES   :: 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] :: com.typesafe.sbt#sbt-pgp;0.8.1: not found 
[warn] :: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] 
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. 
[warn]  com.typesafe.sbt:sbt-pgp:0.8.1 (sbtVersion=0.13, scalaVersion=2.10) 
[warn] 
[trace] Stack trace suppressed: run last *:update for the full output. 
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.1: not found 
[error] unresolved dependency: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found 

上的任何想法如何解決這個問題?

+0

我知道它不會幫助你,但我絕對建議不要使用SCCT並使用Scoverage:https://github.com/scoverage/sbt-scoverage –

回答

3

Yuck,對不起。對於scala-uri,這兩者都不應該是運行時依賴項。

我剛推新版0.4.1。你可以試試嗎?他們不再出現在0.4.1 pom file而不是0.4.0 pom file,所以我希望這會解決你的問題。

0

顯然這個項目需要依賴,它找不到。也許你需要添加一個存儲庫,其中可以找到com.github.scct#scct_2.10;0.3-SNAPSHOT。因爲它似乎是一個github項目,你也可以自己在本地構建它。

相關問題