apache atlas安裝配置

來源:互聯網
上載者:User

標籤:code   jdk   時間   地址   max   sts   test   pid   wip   

安裝文檔地址:http://atlas.apache.org/0.7.1-incubating/InstallationSteps.html

 

作業系統為ubuntu16.具體安裝過程略

JDK使用JDK1.8.具體安裝過程略

 

MAVEN3.3.具體安裝過程略。MAVEN安裝後,需要修改setting.xml,

添加本地倉庫路徑:

<localRepository>${user.home}/repository/maven</localRepository>

使用國內鏡像(在<mirrors></mirrors>中添加以下內容)

    <mirror>        <id>nexus-aliyun</id>        <mirrorOf>*</mirrorOf>        <name>Nexus aliyun</name>        <url>http://maven.aliyun.com/nexus/content/groups/public</url>    </mirror> 

 

安裝git版本:(暫時略過)

 

擷取apache atlas原始碼

git clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlascd atlas

 

由於atlas的dashboardv2需要下載nodejs和npm。但因為你知道的原因,需要設定代理:

在atlas/dashboardv2/pom.xml檔案,中添加如下兩行。

<plugin>                <groupId>com.github.eirslett</groupId>                <artifactId>frontend-maven-plugin</artifactId>                <executions>                    <execution>                        <id>install node and npm</id>                        <goals>                            <goal>install-node-and-npm</goal>                        </goals>                        <configuration>                            <nodeVersion>v4.4.2</nodeVersion>                            <npmVersion>3.8.5</npmVersion>                            <nodeDownloadRoot>http://npm.taobao.org/mirrors/node/</nodeDownloadRoot>                            <npmDownloadRoot>http://registry.cnpmjs.org/</npmDownloadRoot>                        </configuration>                    </execution>

 

啟動構建

export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install

但構建會啟動單元測試,時間比較長,可以添加忽略測試

另外,如果一次構建失敗了。可以不進行clean,直接install

export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn install -DskipTests

接下來是漫長的等待:(

apache atlas安裝配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.