-bash: mvn: command not found
Can maven be found in your environment?
Without knowing how you installed and configured maven I cannot point you to anything specific. Only thing I can point you to is the Maven installation
Re-check all 6 (or 7 if you use the OPTIONAL) points mentioned.
Hope this helps.