On Sep 7, 2008, at 21:28, Wayne Fay wrote:

A far easier solution (IMO) would be to simply have 2 mvn.bat files
and hard-code an alternative settings.xml file in the second one. So
you'd have mvn.bat and the default settings.xml file for your work
projects, plus mvnp.bat with a hardcoded "-s settings-personal.xml" in
the second one.

mvn -? shows
-s,--settings Alternate path for the user settings file

So mvn -s ~/settings-personal.xml would do what you want, also.

Brilliant!  Forhead-slappingly simple.  I like it.

// Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to