You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Faucher Aurélie <Au...@atosorigin.com> on 2005/08/18 14:57:27 UTC

[Maven_1.1-beta-1]

Hello!
Is it possible to change the local repository of Maven? It's C:\Documents anb settings\login\.maven and I would llike to change it.

Aurélie

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


Re: [Maven_1.1-beta-1]

Posted by dan tran <da...@gmail.com>.
what you want is to override maven.repo.local to somewhere else.
Where to put this property?

http://maven.apache.org/reference/properties.html

-D

On 8/18/05, Andy Glick <an...@acm.org> wrote:
> At 08:57 AM 8/18/2005, you wrote:
> >Hello!
> >Is it possible to change the local repository of Maven? It's C:\Documents
> >anb settings\login\.maven and I would llike to change it.
> >
> >Aurélie
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> 
> Aurelie,
> 
> The location of the repository is tied to the value of the system property
> "user.dir". You ought to be able to set that via MAVEN_OPTS. The syntax is
> -Duser.dir=<desired location>.
> 
> 
> ---------------------------------------------------------------------
> 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


Re: [Maven_1.1-beta-1]

Posted by Andy Glick <an...@acm.org>.
At 08:57 AM 8/18/2005, you wrote:
>Hello!
>Is it possible to change the local repository of Maven? It's C:\Documents 
>anb settings\login\.maven and I would llike to change it.
>
>Aurélie
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org

Aurelie,

The location of the repository is tied to the value of the system property 
"user.dir". You ought to be able to set that via MAVEN_OPTS. The syntax is 
-Duser.dir=<desired location>. 


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