On Jan 22, 2007, at 2:38 AM, Reinhard Poetz wrote:
Never tried it myself but according to the Maven documentation you can
set an alternative path to the settings.xml file when you invoke maven
(-s switch). In settings.xml you can set the path to you local Maven
repo.
Yes... that would work, thx for the suggestion. It's not really what
I'm after, because (a) a completely separate maven local repo is a
little heavy-handed, and (b) this would depend on my
environment/invocation instead of location, which means I am prone to
botch it, i.e. install artifacts built from area A as snapshot B and
then have a confusing mess to clean up.
I'm now learning about Maven profiles [1], it look like they may be
what I am looking for...
cheers,
—ml—
[1]
http://maven.apache.org/guides/introduction/introduction-to-
profiles.html