figaro mac 安装

$brew install sbt
$which sbt
/usr/local/bin/sbt
$ git clone https://github.com/xiazemin/figaro.git
$sbt package
[warn] No sbt.version set in project/build.properties, base directory: /Users/didi/figaro/figaro
[info] Set current project to figaro (in build file:/Users/didi/figaro/figaro/)
[info] Updating {file:/Users/didi/figaro/figaro/}figaro…
[info] Done updating.
[info] Packaging /Users/didi/figaro/figaro/target/scala-2.12/figaro_2.12-0.1-SNAPSHOT.jar …
[info] Done packaging.
[success] Total time: 3 s, completed 2017-12-13 13:13:19
操作后会得到一个jar文件
target/scala-2.12/figaro_2.12-0.1-SNAPSHOT.jar
建立一个scala工程将生成的jar包引入
问题:
包无法引入
参考:
https://www.cra.com/work/case-studies/figaro
下载编译包
安装到:/Applications/figaro-5.0.0.0-2.11
项目中引入包即可


Category spark