美文网首页
kafka-manager 编译方法

kafka-manager 编译方法

作者: 至垚 | 来源:发表于2018-08-29 18:29 被阅读0次

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
编译较慢

相关文章

网友评论

      本文标题:kafka-manager 编译方法

      本文链接:https://www.haomeiwen.com/subject/hgbkwftx.html