Download Maven On Mac

Nov 25, 2009  To install Apache Maven on Windows, you just need to download the Maven’s zip file, unzip it to a folder, and configure the Windows environment variables. 2.1 Visit Maven official website, download the Maven zip file, for example: 2.2 Unzip it to a folder. Free download Maven Maven for Mac OS X. Apache Maven is a software project management and comprehension tool. How to I struggled installing Eclipse, STS and Maven on Mac OS. $ cd Downloads // Downloads, is my directory where the archive is currently located $ tar xzvf apache-maven-3.5.4-bin.tar.gz. How to install maven in Mac OS? To install maven first of all we will have to download the latest maven from apache maven site. Following is the download link: Maven download link. As soon as the download is done, extract the downloaded file and move it to the Library directory. The file we downloaded is: apache-maven-3.6.1-bin.tar.gz and after.

By default, Maven local repository is defaulted to ${user.home}/.m2/repository folder :

  1. Unix/Mac OS X – ~/.m2/repository
  2. Windows – C:Users{your-username}.m2repository

When we compile a Maven project, Maven will download all the project’s dependency and plugin jars into the Maven local repository, save time for next compilation.

1. Find Maven Local Repository

1.1 If the default .m2 is unable to find, maybe someone changed the default path. Issue the following command to find out where is the Maven local repository:

1.2 Example :

In above output, The Maven local repository is relocated to C:optmaven-repository

2. Update Maven Local Repository

2.1 Find this file {MAVEN_HOME}confsettings.xml and update the localRepository.

Download Maven On Windows

Issue mvn -version to find out where is Maven installed.

2.2 Save the file, done, the Maven local repository is now changed to D:/maven_repo.


About the Author

DownloadDownload Maven On Mac

Download Maven Mac Terminal

Founder of, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Mac Install Maven