This environment variable can be used to supply extra options to Maven. The subdirectory apache-maven-3.3.9 will be created from the archive. apache-maven-3.3. to the directory you wish to install Maven 3.3.9.
brew install maven will install latest Maven (3.5.2 on ).With Mac OS X 10.9 (Mavericks), Maven is not installed by default anymore. If Java is missing running $ java in a terminal will prompt you for the Java installation. I am aware that everything I compiled in this answer is already present in the page, but having it clearly in one answer makes it a lot clearer.įirst of all, with previous versions of OS X, Maven is installed by default. Disclaimer: Here is a complete answer taking the last version of OS X (10.9 AKA Mavericks) into account.