M2_HOME/conf/settings.xml is the GLOBAL settings. They are always read, first. The the user's settings come in on top.
On Sun, Dec 26, 2010 at 11:44 AM, benxs <[email protected]> wrote: > >> Looks like you just want put your settings inside M2_HOME/conf/settings.xml > > Thank you. That sounds interesting! > > Does that mean that Maven reads automatically every time it starts > the file > > M2_HOME/conf/settings.xml > > before the file > > <userhome>/.m2/settings.xml > > ? Does Maven read both or only the first file it finds? > Which one has priority? > > Where is this fact written? > I have not seen this. > > Thank you > Ben > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-to-setup-location-of-settings-xml-NOT-by-cmdline-tp3318651p3318753.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
