Apache Atlas编译打包,可运行包下载地址
我们需要安装Apache Atlas作为数据治理工具,但Atlas只提供源码,不提供可运行包。于是只能自己下载来编译了。先分享编译方法,如果还是编译不好,文章末尾我也提供下载地址了。
编译步骤:
1、下载地址:https://atlas.apache.org/#/Downloads
2、设置maven的settings.xml文件,加入以下mirror:
<mirror><id>ali</id><mirrorOf>central</mirrorOf><name>Human Readable Name for this Mirror.</name><url>https://maven.aliyun.com/repository/public</url></mirror>
<mirror><id>huaweicloud</id><mirrorOf>ddd</mirrorOf><url>https://repo.huaweicloud.com/repository/maven/</url>
</mirror>
<!--<mirror><id>maven-default-http-blocker</id><mirrorOf>external:http:*</mirrorOf><name>Pseudo repository to mirror external repositories initially using HTTP.</name><url>http://0.0.0.0/</url><blocked>true</blocked></mirror>-->
那个0.0.0.0的要注释掉,否则不能访问http协议的组件库。
3、开始编译:
java必须是1.8的,不能太新了,不然肯定不过。
mvn clean compile package assembly:assembly install -DskipTests -Drat.skip=true
中间会出错,有些包无法下载,自己到网上去搜索下载下来放在本地库中,再重新编译,几次下来,总是能成功的。
比如:calcite-1.16.0-kylin-r2 这个是要手动下载的:https://mvnrepository.com/artifact/org.apache.calcite/calcite-linq4j/1.16.0-kylin-r2
4、如果你还是不能成功,那就拿来主义吧,我分享可运行包:
通过网盘分享的文件:apache-atlas-2.3.0-bin.tar
链接: https://pan.baidu.com/s/1sLLXQ8S3HC98tkIrE_wD0g 提取码: 5ndq