Request received: Re: How to setup location of settings.xml NOT by cmdline? (ticket #21935)

2010-12-26 Thread Boxee Support
## In replies all text above this line is added to the ticket ## Request received: Re: How to setup location of settings.xml NOT by cmdline? (ticket #21935) Your request (#21935) has been received, and is being reviewed by our support staff. To review the status of the request and add

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread benxs
Thank you. One more last question: Assume I use such an external Maven installation from Eclipse (= not the internal, embedded Maven from Eclipse). Does Eclipse pay attention to the preferences (e.g. the location of the Repository) in these settings.xmls as well? -- View this message in cont

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Benson Margulies
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 wrote: > >> Looks like you just want put your settings inside M2_HOME/conf/settings.xml > > Thank you. That sounds interesting! > > Does

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Guo Du
On Sun, Dec 26, 2010 at 4:44 PM, benxs wrote: > ? Does Maven read both or only the first file it finds? > Which one has priority? Based on org.apache.maven.settings.building.DefaultSettingsBuilder implementation, maven read both and merge them on runtime. /.m2/settings.xml taken priority. > Wher

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread benxs
> 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 /.m2/settings.xml ? Does Maven read both or only the first

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Greg Akins
On Sun, Dec 26, 2010 at 9:09 AM, Guo Du wrote: >> I prefer to have Maven auto-detect the settings.xml in its own installation >> directory. > Looks like you just want put your settings inside M2_HOME/conf/settings.xml > Or.. mvn is a shell script (or batch file) You could just modify that scrip

Re: How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Guo Du
> I prefer to have Maven auto-detect the settings.xml in its own installation > directory. Looks like you just want put your settings inside M2_HOME/conf/settings.xml Happy holiday! -Guo - To unsubscribe, e-mail: users-unsubscr

How to setup location of settings.xml NOT by cmdline?

2010-12-26 Thread Ben Stover
I want to move the location of the settings.xml away from the users home directory into another (.e.g. the Maven installation directory). How can I achieve this for the cmdline usage (=NOT Eclipse) ? Yes, I know I can pass an additional parameter like mvn -s "D:\maven\settings.xml" install but