mvnw proxy config (#4310)

* mvnw proxy config

explanation about config proxy mvnw

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
This commit is contained in:
José Augusto 2020-02-03 22:59:00 -03:00 committed by GitHub
parent 7cf79b1127
commit ef60cb2781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -4,6 +4,17 @@ This document helps people to compile and build the project in your maven and se
## Build Project ## Build Project
**Because we are using Git submodule, we recommend don't use `GitHub` tag or release page to download source codes for compiling.** **Because we are using Git submodule, we recommend don't use `GitHub` tag or release page to download source codes for compiling.**
### Maven behind Proxy
If you need to execute build behind the proxy, edit the *.mvn/jvm.config* and put the follow properties:
```
-Dhttp.proxyHost=proxy_ip
-Dhttp.proxyPort=proxy_port
-Dhttps.proxyHost=proxy_ip
-Dhttps.proxyPort=proxy_port
-Dhttp.proxyUser=username
-Dhttp.proxyPassword=password
```
### Build from GitHub ### Build from GitHub
1. Prepare git, JDK8 and maven3 1. Prepare git, JDK8 and maven3
1. `git clone https://github.com/apache/skywalking.git` 1. `git clone https://github.com/apache/skywalking.git`