Close

Installing Maven on Mac OSX (6/13/19)

A project log for Barnabas Robotics ArduBlock Upgrade

An upgrade for ArduBlock

grace-kullGrace Kull 06/20/2019 at 22:280 Comments

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