freebsd-ports/devel/maven/pkg-message
Thierry Thomas 29e0285216 1. Update maven to 1.0-rc2
2. Set USE_BZIP2=yes
3. Convert to bsd.java.mk 2.0 macros
4. Use alternative path in pkg-message

PR:		ports/65703
Submitted by:	Kang Liu <liukang@bjpu.edu.cn>
Reviewed by:	maintainer.
2004-05-06 21:26:56 +00:00

13 lines
491 B
Text

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 ``%%PREFIX%%/%%DIR%%''.
Then, you should initialize your repository with:
%%PREFIX%%/%%DIR%%/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"