2010-12-03 14:38:46 +00:00
|
|
|
#!/bin/sh
|
2013-12-23 09:40:37 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2013-03-12 12:27:04 +00:00
|
|
|
export M2_HOME="${M2_HOME:-/usr/share/maven}"
|
2010-12-21 14:25:37 +00:00
|
|
|
export JAVA_HOME; $M2_HOME/bin/mvn "$@"
|