You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by um...@comcast.net on 2007/10/24 20:49:18 UTC

Changing the default local repository

I 've looked thru the FAQ of POM as well as settings and was unable to
find an answer.

How do I change the default local repository from ${user.home}/.m2
to something else?

Regards,

/U

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Changing the default local repository

Posted by Nick Stolwijk <ni...@planet.nl>.
If you look at the Settings Object Model[1], you'll see the following tag:

/settings/localRepository.

That's the one you're looking for.

Hth,

Nick Stolwijk

[1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html

uma_rk@comcast.net wrote:
> I 've looked thru the FAQ of POM as well as settings and was unable to
> find an answer.
>
> How do I change the default local repository from ${user.home}/.m2
> to something else?
>
> Regards,
>
> /U
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org