Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Wayne Fay
I replied to your other thread. Please go read the documentation. Wayne On 1/2/08, Thomas Chang <[EMAIL PROTECTED]> wrote: > Your answer sounds good. But could the "profile.xml" be called? Have you an > example? > > > ** > It sounds like you should probably be using a profiles.

Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Andrew Robinson
assuming bash, add this to your .bashrc (substitute mvn absolute path as needed): alias mvn="/usr/bin/mvn -s $*" If you are using windows or not using bash you can create a bat file or a mvn shell script that occurs earlier in your PATH so that it gets picked up first. just make sure that the m

RE: How to configure the location of "settings.xml"?

2008-01-02 Thread Brian E. Fox
ed one) or with the profiles.xml, but I don't think this is what you really need. --Brian -Original Message- From: Thomas Chang [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 10:26 AM To: Maven Users List Subject: Re: How to configure the location of "settings.xml&q

Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Thomas Chang
Your answer sounds good. But could the "profile.xml" be called? Have you an example? ** It sounds like you should probably be using a profiles.xml file in your project root directory (same dir as pom.xml), rather than configuring a new location for your settings.xml fil

Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Thomas Chang
Thanks for the reply. But I think this way is a little bit complecated since everytime you run mvn you have to type the alternate path. ** you can use mvn -s < Alternate path for the user settings file > Erez. On Jan 2, 2008 5:05 PM, Thomas Chang <[EMAIL PROTECTED

Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Wayne Fay
It sounds like you should probably be using a profiles.xml file in your project root directory (same dir as pom.xml), rather than configuring a new location for your settings.xml file etc. Wayne On 1/2/08, Erez Nahir <[EMAIL PROTECTED]> wrote: > you can use mvn -s < Alternate path for the user se

Re: How to configure the location of "settings.xml"?

2008-01-02 Thread Erez Nahir
you can use mvn -s < Alternate path for the user settings file > Erez. On Jan 2, 2008 5:05 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Hi all, > > Normally the "settings.xml" is located under /m2_home/conf. Is it > possible to move this file anywhere for example /myproject/conf? If yes, > how

How to configure the location of "settings.xml"?

2008-01-02 Thread Thomas Chang
Hi all, Normally the "settings.xml" is located under /m2_home/conf. Is it possible to move this file anywhere for example /myproject/conf? If yes, how? Regards Thomas - Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Si