Friday, September 1, 2017
Setup Maven on Ubuntu and MacOS
Setup Maven on Ubuntu and MacOS
This post contains how to set up maven on Ubuntu and MacOS as well as finding their installation location. On Ubuntu, run the following command in the terminal:
$mvnThe printout will indicate whether maven is installed or not. If not, run the following command to install:
$sudo apt-get install maven2After maven is installed, its home directory is at /usr/share/maven2 (depending on your version)
To install maven on MacOS, run "$mvn --version" to check whether it is installed. If not, run the following command in the terminal to install:
$brew install mavenAfter the installation, to find the installation path of maven, type the following command:
$mvn --version
download file now
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.