maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonjack <>
Subject m2.conf and local repo custom location
Date Fri, 19 Nov 2010 17:11:18 GMT


2 questions please regarding the local repository:

Ive installed Maven 3.0 on my local machine and for various reasons need a
different local repo location from the default path specified in -

So, I updated settings.xml as follows:


After building an archetype the custom location was used fine.
However, I am unlcear as to how and when m2.conf is used when running Maven.

Should I update m2.conf accordingly:

set maven.home default ${user.home}/m2

set maven.home default C:/development/.m2

The local repo gets installed to [some path]/.m2

Why does the entry in m2.conf not specify the  fullstop (.) before the m2?

shouldnt it be set maven.home default ${user.home}/.m2

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message