From 31c3d3002f6ad4f1feee7c254042e59af08e6396 Mon Sep 17 00:00:00 2001 From: Benoit MARECHAL <bmarechal@grandlyon.com> Date: Wed, 16 Nov 2022 14:18:16 +0000 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b02046d..50d662b 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. +``` -- GitLab