2 2.0 How to build
吴晟 Wu Sheng edited this page 2016-12-30 11:02:43 +08:00

How to build sky-walking

  • Sky-walking project are constituted by three parts: dependency libraries, network-module and main-project.
  • If you are familiar with travis-ci, you can read the .travis.yml build file directly.
  • If not, you can do these three steps:
  1. install dependency libraries in ci-dependencies folder.
> mvn install:install-file  -Dfile=jmxtools-1.2.1.jar  -DgroupId=com.sun.jdmk  -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar
> mvn install:install-file  -Dfile=jmxri-1.2.1.jar  -DgroupId=com.sun.jmx  -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar
> mvn install:install-file  -Dfile=dubbox-2.8.4.jar  -DgroupId=com.alibaba  -DartifactId=dubbox -Dversion=2.8.4 -Dpackaging=jar
> mvn install:install-file  -Dfile=ojdbc14-10.2.0.4.0.jar  -DgroupId=com.oracle  -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar
  1. build network-module
> cd sky-walking/skywalking-network
> mvn clean install
  1. build main-project
> cd sky-walking
> mvn clean install

The jdk requirement is jdk8, we use oraclejdk8 on travis-ci.