SNAPSHOTs are always checked against the remote repo, to see if a
newer SNAPSHOT build is available. If so, it is downloaded and used
rather than the current SNAPSHOT version.

You will need to run maven offline to guarantee these Maven will not
attempt to update these artifacts during the execution.

Wayne

On 9/21/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote:
Although the file axis2-java2wsdl-SNAPSHOT.jar exists in repository,
maven build still tried to download it why ? And same this is true about
woden-SNAPSHOT.jar ? Is there a way to force maven not to download these
but look in repository ?



-----Original Message-----
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 5:38 PM
To: Maven Users List
Subject: Re: stopping maven 1.0 from downloading jars

sorry, I replied a little bit too quicly If these jars aren't SNAPSHOTs,
the -o option will not help you If you stored all the jars in a lib
directory, you have to override your dependencies.
http://maven.apache.org/maven-1.x/using/managing-dependencies.html

Arnaud

On 9/20/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
>
> use the offline option
> maven -o ....
>
> Arnaud
>
> On 9/20/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED] >
> wrote:
> >
> > Hi,
> > I am using maven1.0 for the first time to build AXIS2 project. When
> > I execute maven on command line it tries to download jars which are
> > already present in lib directory. The download is blocked in my
> > company therefore it times out and build is not successful. How do I

> > get around this problem.
> >
> > -yogen
> > --------------------------------------------------------
> >
> > NOTICE: If received in error, please destroy and notify sender.
> > Sender does not intend to waive confidentiality or privilege. Use of

> > this email is prohibited when received in error.
> >
> >
>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does
not intend to waive confidentiality or privilege. Use of this email is
prohibited when received in error.

---------------------------------------------------------------------
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