use -U on the mvn command line.  This will still use your local repo, but 
will force an update on all the plugins and jars used.

Cheers

Jon

"Wayne Fay" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Maven always uses the local repo. I'm not aware of a way to turn it
> off or exclude it.
>
> Wayne
>
> On 9/29/06, pfrancav <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi, I m actually removing the repo when I want to build a release, but I
>> want to know if exist any parameter that directly exclude the local repo.
>>
>> Can I change M2 in the command line ?
>>
>>
>> Wayne Fay wrote:
>> >
>> > Delete your local repo and do the build.
>> >
>> > Or adjust your M2 config to point to a new empty directory on your
>> > machine; same results.
>> >
>> > Wayne
>> >
>> > On 9/29/06, pfrancav <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi, I need to build release and I want to ensure the jars are correct, 
>> >> so
>> >> I
>> >> want to mvn download jars from our internal repository, skipping the
>> >> local
>> >> repository.
>> >>
>> >> Is that possible?
>> >>
>> >> Really thanks
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/How-I-prevent-the-use-of-local-repository--tf2358410.html#a6570110
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/How-I-prevent-the-use-of-local-repository--tf2358410.html#a6570444
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> 




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

Reply via email to