8
當SBT試圖publish-local
,我得到下面的輸出:SBT發佈地方:未定義解析器「本地」
[info] :: delivering :: com.mycompany#util_2.9.1;0.1.0-SNAPSHOT :: 0.1.0-SNAPSHOT :: integration :: Tue Jan 15 11:23:01 CET 2013
[info] delivering ivy file to /Users/martink/code/my-project/util/target/scala-2.9.1/ivy-0.1.0-SNAPSHOT.xml
[trace] Stack trace suppressed: run last my-util/*:publish-local for the full output.
[error] (my-util/*:publish-local) Undefined resolver 'local'
我懷疑這是因爲在我的構建文件中的一些設置,因爲發佈本地作品上新鮮的項目。任何想法如何使publish-local
再次工作?
見您可能也有興趣在用戶級重載庫:http://www.scala-sbt.org/release/docs/Detailed-Topics/Proxy-Repositories.html。 –