freebsd-ports/devel/maven31/files/mvn.sh.in
Dima Panov e7e498899c - Add maven31, as separate branch of Apache Maven engine
- Pass maintanership to Alexander Yerenkow
- Connect maven31 to devel/Makefile

Submitted by:	Alexander Yerenkow via skype
Approved by:	hq@, maintainer of maven3, in email discussion with Alexander
2014-01-06 12:30:32 +00:00

18 lines
413 B
Bash

#!/bin/sh
#
# $FreeBSD$
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "${HOME}/.mavenrc" ] ; then
. "${HOME}/.mavenrc"
fi
M2_HOME=${M2_HOME:-"%%DATADIR%%"}
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" $MAVEN_OPTS \
-classpath "${M2_HOME}/boot/%%CLASSWORLDS_JAR%%" \
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
"-Dmaven.home=${M2_HOME}" org.codehaus.classworlds.Launcher "$@"