You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2006/11/03 18:06:31 UTC

moving maven local .m2 repository

How do I move the .m2 local repository to a different location????

-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: moving maven local .m2 repository

Posted by Mick Knutson <mi...@gmail.com>.
Thanks so much!

On 11/3/06, Kevin Menard <km...@servprise.com> wrote:
>
> Create ~/.m2/settings.xml and add the following to that file:
>
> <settings>
>    <localRepository>c:\dev\m2repo</localRepository>
> </settings>
>
> Of course, adjust the path appropriately.
>
> --
> Kevin Menard
> Servprise International
> WebReboot -- Remote Reboot Without Pulling the Plug
> 800.832.3823
>
> > -----Original Message-----
> > From: Mick Knutson [mailto:mickknutson@gmail.com]
> > Sent: Friday, November 03, 2006 12:07 PM
> > To: maven
> > Subject: moving maven local .m2 repository
> >
> > How do I move the .m2 local repository to a different location????
> >
> > --
> >
> > Thanks
> >
> > DJ MICK
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

RE: moving maven local .m2 repository

Posted by Kevin Menard <km...@servprise.com>.
Create ~/.m2/settings.xml and add the following to that file:

<settings>
   <localRepository>c:\dev\m2repo</localRepository>
</settings>

Of course, adjust the path appropriately.

-- 
Kevin Menard
Servprise International
WebReboot -- Remote Reboot Without Pulling the Plug
800.832.3823

> -----Original Message-----
> From: Mick Knutson [mailto:mickknutson@gmail.com]
> Sent: Friday, November 03, 2006 12:07 PM
> To: maven
> Subject: moving maven local .m2 repository
> 
> How do I move the .m2 local repository to a different location????
> 
> --
> 
> Thanks
> 
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson

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