maven/maven-script

21 lines
388 B
Plaintext
Raw Normal View History

2010-12-03 14:38:46 +00:00
#!/bin/sh
# Source system prefs
if [ -f /etc/java/maven.conf ] ; then
. /etc/java/maven.conf
fi
# Source user prefs
if [ -f $HOME/.mavenrc ] ; then
. $HOME/.mavenrc
fi
2010-12-03 14:38:46 +00:00
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
set_jvm
set_javacmd
fi
export M2_HOME="${M2_HOME:-/usr/share/maven}"
export JAVA_HOME; $M2_HOME/bin/@@CMD@@ "$@"