-
Notifications
You must be signed in to change notification settings - Fork 0
Maven Installation: Mac OS X
Note: All lines in code blocks should be sequentially executed in Terminal.
Install Homebrew.
Homebrew is an OS X package manager that allows convenient installation of thousands of modules.
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Be patient until Homebrew has completed installation.
Install Maven.
This is where Homebrew's magic comes into play.
Run the following command:
brew install maven
This simple command will download, extract, and install the latest version of Maven and its respective dependencies. Homebrew also automates the process of setting environment variables.
Verify Maven is installed correctly.
Simply check the version and make sure no errors pop up.
mvn --version
If all is well, congratulations! You've successfully installed Apache Maven on Mac OS X.
Visit the site at tenjava.com
If you have any questions (about the contest, git, Maven etc), please don't hesitate to send us a tweet @tenjava or ask in our IRC channel.