Wayne,

Thanks for your reply. I forgot to say that I also checked the "-s" flag.

So, there is no environment variable to indicate the path or
exact_path/file_name right?

It is possible to edit mvn.bat but i want to make sure it is possible for
developers to use their personal copy also. I am sure there are many ways to
do it but i am not sure which one is the best.


On 7/31/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Looks like you want to use "mvn -s <your location here>".
>
> C:\cvs_root\xsltc-maven-plugin>mvn -h
> usage: mvn [options] [<goal(s)>] [<phase(s)>]
> Options:
> -s,--settings                 Alternate path for the user settings file
>
> To make this work consistently, you could probably edit the mvn.bat
> file itself to provide the -s setting automatically with every
> execution of mvn.
>
> Also, refer to this webpage for more info on settings.xml files:
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
>
> Wayne
>
> On 7/31/07, Baz <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Is there a way to setup default location of settings.xml? I understand
> the
> > default location is M2 repo.
> >
> > I am trying to have settings.xml stored in Perforce and add an
> environment
> > variable to point to a directory so developers can have a consistent
> > settings.xml file. Suggestion?
> >
> > Thanks.
> >
> > A.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to