skywalking源码运行

skywalking源码运行

下载源码

git clone --recurse-submodules https://github.com/apache/skywalking.git
OR
git clone https://github.com/apache/skywalking.git

初始化项目

cd skywalking/
git submodule init
git submodule update

运行完上面的命令后就是等待,init还好.update需要等待时间较长
过程中会下载一下插件和skywalking-ui等等

编译代码

需要运行项目源文件的mvnw,注意不是使用原生mvn

./mvnw clean package -DskipT

指定源文件路径

grpc-java and java folders in apm-protocol/apm-network/target/generated-sources/protobuf
grpc-java and java folders in oap-server/server-core/target/generated-sources/protobuf
grpc-java and java folders in oap-server/server-receiver-plugin/receiver-proto/target/generated-sources/protobuf
grpc-java and java folders in oap-server/exporter/target/generated-sources/protobuf
grpc-java and java folders in oap-server/server-configuration/grpc-configuration-sync/target/generated-sources/protobuf
antlr4 folder in oap-server/oal-grammar/target/generated-sources

你可能感兴趣的:(skywalking,skywalking)