maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim McCaskey <jim.mccas...@pervasive.com>
Subject settings.xml precedence
Date Tue, 14 Apr 2009 16:28:18 GMT
Hello all,

I'm having some trouble tracking down how the precedence works for settings.xml.  I have a
settings.xml in my ~/.m2 directory.  However, when I invoke a build I pass -Dorg.apache.maven.global-settings
on the command line.  Should Maven not use the setting.xml specified on the command line?
 It seems to be using the one in the ~/.m2 directory.  Is there any way to make it ignore
the ~/.m2 directory version?

The CLI does not appear to be referenced in the settings reference:

http://maven.apache.org/settings.html

FWIW, I'm using Maven 2.1.

-Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message