maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borut Bolčina" <borut.bolc...@gmail.com>
Subject Re: localRepository in user settings.xml
Date Thu, 07 Sep 2006 14:20:24 GMT
Tried with no success. In continuation - nothing from c:\m2\settings.xml is
merged into the effective settings. This only happens if user settings are
at default (~/.m2) location.

2006/9/7, Emmanuel Venisse <emmanuel@venisse.net>:
>
> Try this:
>
> <?xml version="1.0" encoding="UTF-8"?>
>    <settings>
>     <localRepository>C:/m2/repository</localRepository>
> ....
>
> Emmanuel
>
> Borut Bolčina a écrit :
> > Hello,
> >
> > I want my local repository to be at C:\m2\repository so I included
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <settings>
> >    <localRepository>C:\m2\repository</localRepository>
> > ....
> >
> > in settings.xml in C:\m2\settings.xml
> >
> > mvn help:effective-settings
> >
> > spits out
> >
> > [INFO] [help:effective-settings]
> > [INFO]
> > Effective settings:
> >
> > <?xml version="1.0" encoding="UTF-8"?><settings>
> >  <localRepository>C:\Documents and
> > Settings\borutb\.m2\repository</localRepository>
> >  <profiles>
> > ........
> >
> > which is not correct. This is the default. But if I put
> > <localRepository> in
> > conf/settings.xml then it works. Why my user settings are not everriding
> > the
> > default ones?
> >
> > Cheers,
> > Borut
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message