On Saturday 08 December 2007 13:40:25 Heinrich Nirschl wrote: > On Dec 8, 2007 12:58 PM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote: > > > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > > > Hello everybody. > > > > > > > > At work I need a proxy for maven to work while I don't need one at > > > > home. So I have to change my settings.xml back and forth during work > > > > at home and and at work. > > > > > > > > So is it possible to simply turn off the proxy server configuration > > > > with a command line option? > > > > > > The -s option allows you to use a different user settings file. > > > > Although this is possible I don't know whether it is the preferred way of > > doing, since I just want to turn off one part of the settings file while > > keeping the others as is. > > Is this a serious problem? How often do you change the settings file? > If you are *really* worried about inconsistencies you could even come > up with a little transformation (e.g. in XSLT) that converts one > setting file to the other.
You are right, of course I'm not *really* worried about this procedure but just had the feeling of doing a hack (the xslt variant would be a hack too). So I have chosen to better ask for a better practice. :) If my setup is too special and therefore (currently) not supported I will do if with two setting.xml files. Anyhow, thanks for help and greetings, Marco Bakera. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]