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 localRepository in user settings.xml
Date Thu, 07 Sep 2006 14:06:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message