Maven - Local Repository

Card Puncher Data Processing


A local repository is the repository of the local file system of Maven.



The default value is user.home/.m2/repository/

Value Example Os
HOME/.m2 ~/.m2 Linux/Unix/Mac OS X
C:\Windows\System32\config\systemprofile\.m2 Windows System account
%USERPROFILE%\.m2 C:\Documents and Settings\username\.m2 Windows
%USERPROFILE%\.m2 C:\Users\username\.m2 Windows


The location of the local repository can be changed in the user configuration file.



Installing third party JARs

See Maven - Install (Local Package Installation)


The goal dependency:purge-local-repository will suppress the dependency of the project (listed in the pom.xml) from the local repository

Discover More
Card Puncher Data Processing
Maven - (Deploy|Distribution) Phase

This deploy phase copies: a (final) package a web site or the Javadoc documentation to a remote repository for sharing with other developers and projects. In most project builds, the deploy phase...
Card Puncher Data Processing
Maven - (Installation|Configuration)

How I install maven on my computer. Download Apache Maven (3.0.4) Unzip the distribution archive, i.e. to the directory...
Idea Maven Dependency Tree
Maven - Dependency

dependency management in Maven. Dependency are artifact where your software depends on. Dependency are defined in the pom.xml, section dependencies. When you build an application, Maven will search...
Card Puncher Data Processing
Maven - Repository

in Maven. A repository is a storage of artifacts (jar, war, zip ...) in a file system that is: local: or remote repository (ie via HTTP or SSH) Repository Client translate artifact coordinates...

Share this page:
Follow us:
Task Runner