The Guide Show How-to Install and Getting-Started with the Latest Apache Maven 3 Java Project Management & Build Tool for Mac OS X 32/64bit Desktop.
The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut Easier to Read & Digest ;)
-
Download Latest Apache Maven 3 Binaries:
- Double-Click on Archive and Extract Maven3 Binaries
- Open a Terminal Window
- Relocate Maven3 Binaries
sudo su
mv </path/to>/apache-maven-3* /opt
- Check if Java is Installed
java -version
- Setup Maven3 Path and Environment Variables
su <userName>
nano ~/.profile
Insert Something Like:export M3_HOME=/opt/apache-maven-3.0.4 export M3=$M3_HOME/bin export PATH=$M3:$PATH export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/<1.X.Y.jdk>/Contents/Home export PATH=$JAVA_HOME/bin:$PATH
Load New .bashrc SetUp
source ~/.profile
- Test Maven3 Installation
mvn -version
If you Get the Maven Version the Apache Maven3 has been Successfully Installed on Your Mac System :)