Hi,

Thanks for your help. Actually the issue was a little tricky. Someone
thought it might be a good idea to deploy by ftp-ing the directory from
the local repository. That also caused the warning about the missing
repository metadata. 

After I removed the directory from the remote repository and deployed
again, it works as expected.

Andreas 

>-----Original Message-----
>From: ext Wendy Smoak [mailto:[EMAIL PROTECTED] 
>Sent: 17 July, 2007 12:36
>To: Maven Users List
>Subject: Re: Maven does not get latest snapshot from repository
>
>On 7/17/07, [EMAIL PROTECTED] 
><[EMAIL PROTECTED]> wrote:
>
>> I've a weird (for me) build problem. There's an updated snapshot 
>> version on the repository, but maven is not pulling that 
>down for the 
>> build, but rather uses my local version. Under which conditions can 
>> this happen, and how do I resolve it (except for maybe trashing the 
>> whole .m2/repository).
>
>Without knowing when you executed builds and when the snapshot 
>was deployed, it's hard to say exactly what's happening.  My 
>guess is that the snapshot was not there the first time you 
>built today, and the default repository update policy of "once 
>per day" is in effect.
>
>Try adding -U to the command line and see if it downloads.  If 
>that doesn't work, deleting the directory tree from your local 
>repo certainly should.  (You don't have to delete the entire thing.)
>
>Before you do that, can you watch network traffic for a build 
>and see if Maven is really making calls out to the 
>repositories when it complains that the metadata is missing?
>
>ISTR complaints that Maven would download a snapshot from a 
>repo even when there is a newer snapshot locally, (which is 
>the reverse of your
>situation,) so keep an eye on that as well.
>
>--
>Wendy
>
>---------------------------------------------------------------------
>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