Apache Maven makes use of shell variables which you could set by logging out and logging back in. Alternatively you may source /etc/profile.d/apache-maven.sh in your shell. Additionally note that the primary installation, including configuration files, is under /usr/share/apache-maven/