dbaker wrote:
> 
> My understanding was that if the timestamp of the version in the central
> repository is more recent than that of the local version, then the local
> version would be updated. Is this correct, or does Maven only download to
> the local repository if the required artifact is missing?
> 

I've been using and configuring maven only for a few months, but I have
found the above to be true.  I don't know if it uses the timestamp (from the
operating system) or the name extension applied when the artifact is
deployed.

Which raises a thought: Does the continuos build perform a 'deploy' or an
'install'?  These operations result in differently named files.  'deploy'
puts the timestamp on the name of the file, 'install' does not.  I don't
know, but only wonder, if it makes a difference for you.

Check the times on the two systems to be certain they are synchronized.

Finally, I don't know for sure, and have little hope that it would make a
difference, I would play around (just for grins) and temporarily remove the
repository element from the pom. Maybe having two definitions of the
repository is having an impact for you.  I don't do this; all my
repositories are defined in my settings file.  I don't know which way is the
'maven' way.  I think that specifying the repo in the pom would make it a
nuisance to relocate the repository. 

Regards,
John

-- 
View this message in context: 
http://www.nabble.com/Problem-downloading-latest-SNAPSHOT-from-central-repository-tf3309925s177.html#a9207913
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