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
>
>
|