You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by pfrancav <pf...@gmail.com> on 2006/09/29 20:15:25 UTC

How I prevent the use of local repository?


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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How I prevent the use of local repository?

Posted by Jon SlinnHawkins <j....@elsevier.com>.
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" <wa...@gmail.com> wrote in message 
news:52bab8690609291203u27a664c5vf47f4c1d21deb0f8@mail.gmail.com...
> 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 <pf...@gmail.com> 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 <pf...@gmail.com> 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: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>> >
>>
>> --
>> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How I prevent the use of local repository?

Posted by Wayne Fay <wa...@gmail.com>.
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 <pf...@gmail.com> 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 <pf...@gmail.com> 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: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How I prevent the use of local repository?

Posted by pfrancav <pf...@gmail.com>.

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 <pf...@gmail.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How I prevent the use of local repository?

Posted by Wayne Fay <wa...@gmail.com>.
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 <pf...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org