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:
parent
271d27b3e3
commit
6bfe18a3d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91847
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user