You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dominik Roblek <ro...@cs.tcd.ie> on 2005/11/25 21:23:03 UTC
[m2] custom local repository location
Hi all,
Is it possible to override default location of local repository in Maven 2?
In Maven 1.x it was possible using MAVEN_LOCAL environment variable
however it is not the case in Maven 2.
Cheers,
Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] custom local repository location
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/25/05, Dominik Roblek <ro...@cs.tcd.ie> wrote:
>
> Is it possible to override default location of local repository in Maven 2?
>
> In Maven 1.x it was possible using MAVEN_LOCAL environment variable
> however it is not the case in Maven 2.
It goes in ~/.m2/settings.xml, for example:
<settings>
<localRepository>C:\\java\\m2-repository</localRepository>
</settings>
I think this is the model...
http://maven.apache.org/maven-settings/settings.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org