-s should work which is what I am using now in Continuum 1.3.2 On Mon, Apr 6, 2009 at 9:27 PM, Morgovsky, Alexander (US - Glen Mills) < [email protected]> wrote:
> Thanks, I have all my dev-related work in a certain folder, so I wanted to > keep that out of c:. I will try the -s option, however. Thanks. > > -----Original Message----- > From: Wendy Smoak [mailto:[email protected]] > Sent: Tuesday, April 07, 2009 12:25 AM > To: [email protected] > Subject: Re: Changing settings.xml location Continuum > > On Mon, Apr 6, 2009 at 9:16 PM, Morgovsky, Alexander (US - Glen Mills) > <[email protected]> wrote: > > Hi. Is it possible to configure Continuum to look for settings.xml not > under c:\...\.m2\settings.xml but in a custom-set location? I am using > Continuum 1.2.3 on a Windows OS. > > I don't think Continuum is looking for it there... Maven is. AFAIK, > there's no way to get Maven to default to looking elsewhere, though > you can add -s /path/to/other/settings.xml on the command line. > > What problem are you trying to solve by doing this? > > That file is optional, if you're trying to have different settings for > the same user, you might try using $M2_HOME/conf/settings.xml, and > then having multiple Maven installs, setting M2_HOME in each > environment as appropriate. > > -- > Wendy > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. If > you are not the intended recipient, you should delete this message. > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > >
