1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/maven/pkg-message
Herve Quiroz 39214bece7 - Update to 1.0 final [1]
- Use MASTER_SITE_APACHE
- Use DATADIR
- Install files using INSTALL_* [2]

PR:		ports/68769
Submitted by:	Rui Lopes (maintainer) [1]
Reviewed by:	vs [2]
Approved by:	maintainer, glewis (mentor)
2004-08-07 23:46:37 +00:00

14 lines
477 B
Plaintext

To work with Maven you need to set the following environment variables:
* JAVA_HOME
Set it to the base directory of your java installation.
* MAVEN_HOME
Set it to ``%%DATADIR%%''.
Then, you should initialize your repository with:
%%DATADIR%%/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"