diff --git a/README.md b/README.md index b02046d6d1a1490f865238d04208ebeb094b86b3..50d662b5ac62cc2bae3bbe6032625f9080d35976 100644 --- a/README.md +++ b/README.md @@ -421,14 +421,14 @@ docker build --build-arg MAVEN_OPTS="-Dhttp.proxyHost=$PROXY_HOST -Dhttp.proxyPo ``` -## NPM behind a Proxy +## NPM (Javascript packager) behind a Proxy ```shell npm config set proxy http://$PROXY_HOST:$PROXY_PORT npm config set https-proxy http://$PROXY_HOST:$PROXY_PORT ``` -## PIP behind a Proxy +## PIP (Python packager) behind a Proxy ```shell pip install --proxy=http://$PROXY_HOST:$PROXY_PORT -r requirements.txt @@ -451,3 +451,10 @@ systemctl show --property=Environment gitlab-runner gitlab-runner stop gitlab-runner start ``` + +## Maven (Java Packaging) + +```shell +export MAVEN_OPTS="-Dhttp.proxyHost=$PROXY_HOST -Dhttp.proxyPort=$PROXY_PORT -Dhttps.proxyHost=$PROXY_HOST -Dhttps.proxyPort=$PROXY_PORT" +# set MAVEN_OPTS. +```