编译成功截图:
准备:
1. Maven 3.6.3
2. Atlas 2.0.0 源码
3. JDK 1.8
地址:[https://atlas.apache.org/#/Downloads](https://atlas.apache.org/#/Downloads)2.上传到服务器并解压:*
tar -zxf apache-atlas-2.0.0-sources.tar.gz3.配置 Maven 镜像仓库
原本用的阿里云,但是好多没下载下来,所有就用maven3.6.3自带的 ,
里面不需要改任何东西。
直接复制settings.xml 替换就好了
4.执行Maven编译打包扩大内存
export MAVEN_OPTS="-Xms2g -Xmx2g"
mvn clean -DskipTests package -Pdist,embedded-hbase-solr
注意,atlas可以使用内嵌的hbase-solr作为底层索引存储和搜索组件,也可以使用外置的hbase和solr
6 . 编译出现错误
其中一次:
解决办法:
我在编译过程中出现3次错误,然后百度等等 。
只需要修改文件中pom.xml文件中
下载源
horton-works-releases http://repo.hortonworks.com/content/groups/public/ CDH https://repository.cloudera.com/artifactory/cloudera-repos/ oracleReleases Oracle Released Java Packages http://download.oracle.com/maven default hortonworks.repo http://repo.hortonworks.com/content/repositories/releases Hortonworks Repo false apache.snapshots.repo https://repository.apache.org/content/groups/snapshots Apache Snapshots Repository true apache-staging https://repository.apache.org/content/groups/staging/ default https://repository.apache.org/content/groups/public/ java.net-Public Maven Java Net Snapshots and Releases https://maven.java.net/content/groups/public/ repository.jboss.org-public JBoss repository https://repository.jboss.org/nexus/content/groups/public
最新的
过程有点pom.xml曲折直接给下载源:
链接:https://pan.baidu.com/s/1jo0peCZJya_s3IrIouNmbw
提取码:hxy0
maven
链接:https://pan.baidu.com/s/1TImQ8ybb3ylGkdZ62Vh0CQ
提取码:5rwe



