Good day to you, cg,

The snapshot policy works. You can specify that under
<snapshots><updatePolicy/></snapshots> of your POM ( ee [1] ), Profile, or
Settings.xml ( see [2] ). 

The accepted value for that tag are daily (the default), always, never, and
interval:X (where X is the number of minutes ) ( see [3] ).

Cheers,
Franz

[1]
http://maven.apache.org/ref/current/maven-model/maven.html#class_snapshots
[2]
http://maven.apache.org/ref/current/maven-settings/settings.html#class_snapshots
[3] http://maven.apache.org/settings.html#Repositories


Christian Goetze-3 wrote:
> 
> Patrick Schneider wrote:
> 
>> Snapshots are checked once a day by default.  You can override this by
>> passing the -U flag, forcing maven to update its snapshots.
>>
>> Here's a good review of snaps, by Brett:
>>
>> http://blogs.maven.org/brett/2005/04/15/1113510156000.html
>>
> Thanks - so it would seem  that <snapshot-policy> isn't implemented yet 
> - or that I don't know where to set it... otoh, once a day isn't too bad.
> --
> cg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Just-checking-my-understanding-of-SNAPSHOT-vs-real-versions-tf2962583s177.html#a8292748
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