10/11/2020 Download Maven For Mac Os
I am setting up my new MAC pro for Java development. As I am new to MAC, I find issues while installing and configuring JAVA_HOME variable. Finally I got the solution and I explained in my JAVA_HOME post that how to configure the variable. In this post I am going to show you how to install Maven on MAC.
What is Maven
Apache Maven is a build tool which helps Java developers in building and managing projects. Here are the few features of Maven,
Installing Maven on Mac OS
Now MAC OS is not coming with default installation of Maven. The time when I am writing this post I am using MacOS 10.12. To verify if the Maven is installed or not on the machine. Open the terminal window and type mvn and hit enter. If you get the message âcommand not foundâ then it means Maven is not installed. Download it from the Apache Maven website. And unzip the folder. Make sure you unzip the file in a proper location. I created a WorkSpace folder in my documents and I move the unzip folder in that. The path on MAC looks like this /Users/waqas80/Documents/WorkSpace/apache-maven-3.3.9 .
Apr 02, 2020. Mar 21, 2020. The Maven installation is essentially a set of JAR files, configuration files, and a Mac OS X shell script, namely mvn. The mvn command essentially runs this script. It first checks for JAVAHOME.This file is present in the bin folder of the Maven installation and, hence, it needs to be in PATH. If the shell script does not find JAVAHOME, it looks for Java in its PATH.
May 31, 2020. Feb 20, 2020.
Before configuring it make sure you have install JDK on your machine and JAVA_HOME variable is set. You can type java-version in the terminal window to check if JDK is installed or not.
//
One JDK is set, follow the below steps,
Os Update For Mac
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |