aboutsummaryrefslogtreecommitdiffstats
path: root/devel/maven/pkg-message
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-10-22 05:33:19 +0800
committermarcus <marcus@FreeBSD.org>2003-10-22 05:33:19 +0800
commit7818c33290e1c14068193f6614fad30f85e5675f (patch)
tree9419d6ac796303d928fba3c8204af904a71096f9 /devel/maven/pkg-message
parentb424b8385bd0e99f7202b2c8b2a918932a792728 (diff)
downloadfreebsd-ports-gnome-7818c33290e1c14068193f6614fad30f85e5675f.tar.gz
freebsd-ports-gnome-7818c33290e1c14068193f6614fad30f85e5675f.tar.zst
freebsd-ports-gnome-7818c33290e1c14068193f6614fad30f85e5675f.zip
Add a bit on using Maven with a proxy.
Submitted by: maintainer
Diffstat (limited to 'devel/maven/pkg-message')
-rw-r--r--devel/maven/pkg-message4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/maven/pkg-message b/devel/maven/pkg-message
index 8d8f3e4255f3..52c51b3dddd9 100644
--- a/devel/maven/pkg-message
+++ b/devel/maven/pkg-message
@@ -7,3 +7,7 @@ To work with Maven you need to set the following environment variables:
Then, you should initialize your repository with:
/usr/local/share/java/maven/bin/install_repo.sh ~/.maven/repository
+
+If you are behind a proxy, create a ~/.mavenrc file with something like:
+ MAVEN_OPTS="$MAVEN_OPTS -Dmaven.proxy.host=YOUR_PROXY_HOSTNAME
+ -Dmaven.proxy.port=YOUR_PROXY_PORT"