1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add a bit on using Maven with a proxy.

Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2003-10-21 21:33:19 +00:00
parent 271d27b3e3
commit 6bfe18a3d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91847

View File

@ -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"