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.
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
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
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
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
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
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
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