1.下载代码
git clone https://github.com/yahoo/kafka-manager.git
2.由于仓库会被墙,所有设置国内源
文件~/.sbt/repositories
内容
[repositories]
local
#aliyun: http://maven.aliyun.com/nexus/content/groups/public
ibiblio: http://maven.ibiblio.org/maven2/
typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/artifact.[ext], bootOnly
#上边为两个国内源,一个拉不下来换一个拉
3.进入代码目录编译
./sbt clean dist
编译较慢