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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]