title: Maven: command not found: mvn
body: <p>My maven stopped working all of a sudden.
  I am using macOS Catalina 10.15.6. Maven is installed in Applications directory. It was working fine for over an year. My .bash_profile has</p>
  <pre><code>export JAVA_HOME=$(/usr/libexec/java_home)
  export M2_HOME=/Users/vn0gdpo/Applications/apache-maven-3.6.3
  export PATH=$PATH:$M2_HOME/bin
  </code></pre>
  <p><a href="https://i.stack.imgur.com/CSnXM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CSnXM.jpg" alt="enter image description here" /></a></p>