freebsd-ports/devel/maven2/files/m2.sh.in
Herve Quiroz 8cd0598c7c Maven is a software project management and comprehension tool. Based on the
concept of a project object model (POM), Maven can manage a project's build,
reporting and documentation from a central piece of information.

Maven 2.0 is a rewrite of the popular Maven application to achieve a number of
goals, and to provide a stable basis to take it into the future.

WWW: http://maven.apache.org/maven2/index.html
2005-07-18 18:26:24 +00:00

18 lines
411 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%%" "%%LOCALBASE%%/bin/java" $MAVEN_OPTS \
-classpath "${M2_HOME}"/core/boot/classworlds-*.jar \
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
"-Dmaven.home=${M2_HOME}" org.codehaus.classworlds.Launcher "$@"