Install and setup Maven in Windows and Mac.
You can install Maven just by downloading and extracting its archive file. In Mac, you may also use Homebrew.
Installing Maven in Windows
Installing Maven in Mac
In Mac also you can install Maven similar to Windows by downloading the archive from apache maven website.
In Mac, you may also use Homebrew (assuming you have installed Homebrew).
Just run: brew install maven
It will install latest Maven.
If maven is already installed using homebrew, you can upgrade to the latest version.
Just run: brew upgrade maven.
This will upgrade to the latest version. Current version (as of writing) is 3.5.3.
Useful Commands To Get Help