We installed Maven on our computers. After much trial and error, we found an article that gave us helpful tips in installing Maven:
https://www.mkyong.com/maven/install-maven-on-mac-osx/
I had previously attempted to install Maven a few weeks ago, but with no luck. I then learned about editing the bash_profile from the terminal, which I've never used before. I added a M2_HOME variable in the bash_profile, and set it equal to the apache-maven-3.6.1 directory. I think what helped me in installing Maven though was setting the path to:
export PATH=$PATH:$M2_HOME/bin
instead of the website's instructions:
export PATH=/opt/apache-maven-3.6.1/bin:$PATH
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.