A folder called repository that holds all of the local copies of various maven artifacts, either caches of artifacts pulled down from remote repositories, such as Maven Central, or artifacts built by your local maven builds.
xml file that contains global settings for all maven executions. m2/ repository folder then delete that folder if your maven doesn't work properly. Just open eclipse->window->preferences->maven->user settings->in there see 'local repository location'. No configuration is needed.īeside above, how do I delete. Step 6 - Add Maven bin Directory Location to System Path. Add M2HOME, M2, MAVENOPTS to environment variables. 1.1 – Where is Maven installed? By default, Maven is installed at /usr/share/ maven. /usr/local/apache-maven: Mac /usr/local/apache-maven: Step 5 - Set Maven Environment Variables. On Windows 7 and Vista this resolves to Users and on XP it is Documents and Settings.įurthermore, where is Maven in Mac? Maven Built-In To verify the Maven installation, in terminal, issue the command mvn -version. You can also find a list of previous releases, source code, and additional information for Maven users. m2 folder is expected to be located under $.