apache atlas源码编译打包 centos

参考:https://atlas.apache.org/InstallationSteps.html

1. 下载

           wget https://www.apache.org/dyn/closer.cgi/atlas/1.1.0/apache-atlas-1.1.0-sources.tar.gz

2. 解压

           tar xvfz apache-atlas-1.1.0-sources.tar.gz

3. 进入目录

          cd apache-atlas-sources-1.1.0/

4. 查找并修改pom.xml

          <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.5</version> </plugin>

5. 构建编译

         export MAVEN_OPTS="-Xms2g -Xmx2g" mvn clean -DskipTests install

成功

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [  5.021 s]
[INFO] apache-atlas 1.1.0 ................................. SUCCESS [ 17.376 s]
[INFO] Apache Atlas Test Utility Tools 1.1.0 .............. SUCCESS [ 59.551 s]
[INFO] Apache Atlas Integration 1.1.0 ..................... SUCCESS [01:37 min]
[INFO] Apache Atlas Common 1.1.0 .......................... SUCCESS [ 40.321 s]
[INFO] Apache Atlas Client 1.1.0 .......................... SUCCESS [  4.272 s]
[INFO] atlas-client-common 1.1.0 .......................... SUCCESS [01:06 min]
[INFO] atlas-client-v1 1.1.0 .............................. SUCCESS [ 35.525 s]
[INFO] Apache Atlas Server API 1.1.0 ...................... SUCCESS [ 21.817 s]
[INFO] Apache Atlas Notification 1.1.0 .................... SUCCESS [01:20 min]
[INFO] atlas-client-v2 1.1.0 .............................. SUCCESS [ 29.458 s]
[INFO] Apache Atlas Graph Database Projects 1.1.0 ......... SUCCESS [  2.438 s]
[INFO] Apache Atlas Graph Database API 1.1.0 .............. SUCCESS [ 38.442 s]
[INFO] Graph Database Common Code 1.1.0 ................... SUCCESS [ 27.705 s]
[INFO] Apache Atlas JanusGraph DB Impl 1.1.0 .............. SUCCESS [01:35 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies 1.1.0 SUCCESS [  8.523 s]
[INFO] Shaded version of Apache hbase client 1.1.0 ........ SUCCESS [ 26.142 s]
[INFO] Shaded version of Apache hbase server 1.1.0 ........ SUCCESS [01:25 min]
[INFO] Apache Atlas Authorization 1.1.0 ................... SUCCESS [01:01 min]
[INFO] Apache Atlas Repository 1.1.0 ...................... SUCCESS [03:39 min]
[INFO] Apache Atlas UI 1.1.0 .............................. SUCCESS [05:09 min]
[INFO] Apache Atlas Web Application 1.1.0 ................. SUCCESS [03:24 min]
[INFO] Apache Atlas Documentation 1.1.0 ................... SUCCESS [ 22.205 s]
[INFO] Apache Atlas FileSystem Model 1.1.0 ................ SUCCESS [  9.707 s]
[INFO] Apache Atlas Plugin Classloader 1.1.0 .............. SUCCESS [ 22.935 s]
[INFO] Apache Atlas Hive Bridge Shim 1.1.0 ................ SUCCESS [ 20.930 s]
[INFO] Apache Atlas Hive Bridge 1.1.0 ..................... SUCCESS [ 46.877 s]
[INFO] Apache Atlas Falcon Bridge Shim 1.1.0 .............. SUCCESS [ 26.779 s]
[INFO] Apache Atlas Falcon Bridge 1.1.0 ................... SUCCESS [ 28.161 s]
[INFO] Apache Atlas Sqoop Bridge Shim 1.1.0 ............... SUCCESS [ 12.209 s]
[INFO] Apache Atlas Sqoop Bridge 1.1.0 .................... SUCCESS [ 26.829 s]
[INFO] Apache Atlas Storm Bridge Shim 1.1.0 ............... SUCCESS [ 17.462 s]
[INFO] Apache Atlas Storm Bridge 1.1.0 .................... SUCCESS [ 32.357 s]
[INFO] Apache Atlas Hbase Bridge Shim 1.1.0 ............... SUCCESS [ 29.377 s]
[INFO] Apache Atlas Hbase Bridge 1.1.0 .................... SUCCESS [ 52.236 s]
[INFO] Apache Atlas Kafka Bridge 1.1.0 .................... SUCCESS [ 45.091 s]
[INFO] Apache Atlas Distribution 1.1.0 .................... SUCCESS [ 19.957 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32:41 min
[INFO] Finished at: 2019-02-12T12:16:13+08:00
[INFO] ------------------------------------------------------------------------

问题:

[ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.1:findbugs (findbugs) on project apache-atlas: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.1:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]

编辑pom.xml  查找3.0.1,修改为3.0.5

1  <plugin>  
2  <groupId>org.codehaus.mojo</groupId>
3  <artifactId>findbugs-maven-plugin</artifactId>
4 <version>3.0.5</version>
5 </

猜你喜欢

转载自www.cnblogs.com/wincai/p/10365070.html