2013-10-25 33 views

回答

4

如果你看scala-redis'SBT Project file,它記錄爲redisclient。在maven sonatype中搜索相同,我得到這個result。假設您使用的是scala-2.10 - 如果沒有,您可以看到其他版本here的發佈版本列表。

+0

這就是我需要的。但是,如果沒有這樣的文件'ScalaRedisProject.scala',我怎麼能使用這個項目?我可以下載該項目,以及......我如何將它作爲本地項目使用? –

+0

那麼,如果沒有'pom.xml','build.xml'或者甚至是'build.sbt',你總是可以自己創建一個新的'build.sbt'或'pom.xml'。對於maven,你可以使用[maven-archetype-plugin](http://maven.apache.org/plugins/maven-archetype-plugin/usage.html)並執行'mvn install'。或者,如果您使用SBT,也很容易,只需在頂級目錄中添加一個'build.sbt'並執行'publish-local'。有關詳細信息,請參閱此[SO帖子](http://stackoverflow.com/q/11348670/205936)。 –