create the maven repo if it doesn't exist
use /etc/init.d/profile.d/ script instead of /etc/mavenrc
allow user to specify additional MAVEN_OPTS