You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Neeraj Bisht <ne...@daffodildb.com> on 2006/11/14 11:41:57 UTC

change the local repository in maven 1.x

hi
    we are using GWT ,and we build our GWT project with maven 1.x ,now
google release new jar and this time the jar path should not contain any
spaces in between the path
 but we all know that maven build the repository at
$(userhome}/.maven/repositort

and  userhome contain spaces like c:/document and seeting/....   (by default
maven genrate the local repository at this location)

now i need to change the local repository to the place where there is no
space in path

like c:/mavenrepository

in maven 2.x i know we can do it by seeting.xml how we can do in maven
1.xplease any body tell me with example

Regards
Neeraj

Re: change the local repository in maven 1.x

Posted by Neeraj Bisht <ne...@daffodildb.com>.
thank it works

On 11/15/06, Arnaud HERITIER <ah...@gmail.com> wrote:
>
> in your project or user settings you define the property
> maven.repo.local=c:/somewherelese
>
> http://maven.apache.org/maven-1.x/reference/properties.html
>
> Arnaud
>
>
>
> On 11/14/06, Neeraj Bisht <ne...@daffodildb.com> wrote:
> >
> > hi
> >     we are using GWT ,and we build our GWT project with maven 1.x ,now
> > google release new jar and this time the jar path should not contain any
> > spaces in between the path
> > but we all know that maven build the repository at
> > $(userhome}/.maven/repositort
> >
> > and  userhome contain spaces like c:/document and seeting/....   (by
> > default
> > maven genrate the local repository at this location)
> >
> > now i need to change the local repository to the place where there is no
> > space in path
> >
> > like c:/mavenrepository
> >
> > in maven 2.x i know we can do it by seeting.xml how we can do in maven
> > 1.xplease any body tell me with example
> >
> > Regards
> > Neeraj
> >
> >
>
>

Re: change the local repository in maven 1.x

Posted by Arnaud HERITIER <ah...@gmail.com>.
in your project or user settings you define the property
maven.repo.local=c:/somewherelese

http://maven.apache.org/maven-1.x/reference/properties.html

Arnaud



On 11/14/06, Neeraj Bisht <ne...@daffodildb.com> wrote:
>
> hi
>     we are using GWT ,and we build our GWT project with maven 1.x ,now
> google release new jar and this time the jar path should not contain any
> spaces in between the path
> but we all know that maven build the repository at
> $(userhome}/.maven/repositort
>
> and  userhome contain spaces like c:/document and seeting/....   (by
> default
> maven genrate the local repository at this location)
>
> now i need to change the local repository to the place where there is no
> space in path
>
> like c:/mavenrepository
>
> in maven 2.x i know we can do it by seeting.xml how we can do in maven
> 1.xplease any body tell me with example
>
> Regards
> Neeraj
>
>