How to Install maven in Mac macOS Sierra 10.12.5 Mac OS X


How to Install Apache maven in Mac macOS Sierra 10.12.5 Mac OS X
$ java -version

$ echo $JAVA_HOME

$ brew install maven

$ which mvn

$ mvn -v

$ mvn -v
Apache Maven 3.3.9
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: “mac os x”, version: “10.12.5”, arch: “x86_64”, family: “mac”

Video “How to Install maven in Mac macOS Sierra 10.12.5 Mac OS X” Author: Sanju k