It is determined by the updatePolicy for the repo. Default is 24 hours.

http://maven.apache.org/ref/3.0.3/maven-settings/settings.html

Look for updatePolicy.

> -----Original Message-----
> From: Phillip Hellewell [mailto:[email protected]]
> Sent: Friday, May 13, 2011 1:49 PM
> To: Maven Users List
> Subject: When does maven check for updated snapshots?
> 
> I can't seem to find any documentation on this, so maybe you can just
> tell
> me.  What is the exact rule for when Maven will check for a newer
> snapshot
> from a remote repo (when you're not using -U) ?
> 
> It seems to be something like:
> 1. If you don't already have the snapshot it will check.
> 2. If your latest snapshot is older than 24 hours it will check.
> 
> But that's just me kinda guessing.  I don't know what the exact rule
> is, but
> I would like to.
> 
> Phillip

Reply via email to