You should be able to switch local repo if you invoke another
commandline  via setting switch

 mvn -s new-settings.xml

where the new -settings.xml has your new local repo definition

-Dan


On 10/9/06, ekio <[EMAIL PROTECTED]> wrote:


I am facing a similar issue.
Doing  mvn install -DlocalRepository=<path>  doesn't seem to do anything
either...



Laura Hinojosa wrote:
>
> Is it possible to change the location of the local repository on the fly
> (inside a Mojo? ( while maven is already executing )
>
> Thanks for helping
>
> Laura Hinojosa
>
>
> ------------------------------------------------
>
> This e-mail, and any attachments thereto, is confidential and is
intended
> only for the individual(s) named.  If you are not the intended
recipient,
> please let us know by e-mail reply and delete it from your system; do
not
> copy/save this e-mail or disclose its contents to anyone.  E-mail
> transmissions cannot be guaranteed to be secure or error-free as the
> transmission could be interrupted, corrupted, lost, destroyed, altered,
> arrive late or contain viruses.  ObjectWave does not accept liability
for
> any errors or omissions in the contents of this e-mail which arise as a
> result of e-mail transmission.  The views expressed in this e-mail do
not
> necessarily reflect those of ObjectWave or its affiliates.
>
> ------------------------------------------------
>
>
>
>

--
View this message in context:
http://www.nabble.com/Local-repository-tf2412008.html#a6729892
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to