Hi, I would imagine you need to include the settings.xml under C:\Documents and Settings\borutb\.m2\
Why ? because that's where maven will look for the settings.xml file. Once maven has read your settings.xml it will relocated your localRepository to C:\m2\repository. Thanks Lakshman > -----Original Message----- > From: Borut BolĨina [mailto:[EMAIL PROTECTED] > Sent: Friday, 8 September 2006 12:06 AM > To: maven > Subject: localRepository in user settings.xml > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
