maven/maven-script
Mikolaj Izdebski da5dd01bb2 Install mvnDebug and mvnyjp in bindir
- Resolves: rhbz#1207850
2015-04-01 08:16:35 +02:00

21 lines
388 B
Bash

#!/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
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@@ "$@"