skywalking-java/docs/en/contribution/compiling.md

18 lines
645 B
Markdown

# Compiling project
This document will help you compile and build a project in your maven and set your IDE.
Prepare JDK 8+.
* If you clone codes from https://github.com/apache/skywalking-java
> git clone https://github.com/apache/skywalking-java.git
> cd skywalking-java
> ./mvnw clean package -Pall
* If you download source codes tar from https://skywalking.apache.org/downloads/
> ./mvnw clean package
The agent binary package is generated in `skywalking-agent` folder.
Set **Generated Source Codes**(`grpc-java` and `java` folders in **apm-protocol/apm-network/target/generated-sources/protobuf**)
folders if you are using IntelliJ IDE.