From ef60cb27813a02c8cd374b167a542c3a60102393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Augusto?= Date: Mon, 3 Feb 2020 22:59:00 -0300 Subject: [PATCH] mvnw proxy config (#4310) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mvnw proxy config explanation about config proxy mvnw Co-authored-by: 吴晟 Wu Sheng --- docs/en/guides/How-to-build.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/en/guides/How-to-build.md b/docs/en/guides/How-to-build.md index 203d64701a..86c50e36fb 100644 --- a/docs/en/guides/How-to-build.md +++ b/docs/en/guides/How-to-build.md @@ -4,6 +4,17 @@ This document helps people to compile and build the project in your maven and se ## Build Project **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 1. Prepare git, JDK8 and maven3 1. `git clone https://github.com/apache/skywalking.git` -- GitLab