summaryrefslogtreecommitdiff
path: root/devel/maven
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-21 21:33:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-21 21:33:19 +0000
commit6bfe18a3d28138c8deb3d620f66194758e7091e4 (patch)
treeb540438e61b5574aa55cf1f3c24f270ff2945e89 /devel/maven
parentReplace spaces with tabs on one line. (diff)
Add a bit on using Maven with a proxy.
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=91847
Diffstat (limited to 'devel/maven')
-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"