780 B
780 B
How to build project
This document helps people to compile and build the project in your maven and IDE.
Build in maven
- Prepare JDK8 and maven3
- Run
mvn clean package - All packages are in
/packages, which includesskywalking-agentfolder, and two collector files(.tar.gz for Linux and .zip for Windows)
Setup your IntelliJ IDEA
- Import the project as a maven project
- Run
mvn compile -Dmaven.test.skip=trueto compile project and generate source codes. Because we use gRPC and protobuf. - Set Generated Source Codes folders.
grpc-javaandjavafolders in apm-protocol/apm-network/target/generated-sources/protobufgrpc-javaandjavafolders in apm-collector/apm-collector-remote/apm-remote-grpc-provider/target/protobuf