Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Farhan Sarwar
Hello Guys, Got a question relating to the updatePolicy tag in the maven repository configuration, so basically an updatePolicy can have one of the 4 possible values i.e. always,daily,interval:X (in minutes) and never. Now my understanding of the way maven handles Snapshot version(s) is that it

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Eric Redmond
On 8/21/07, Farhan Sarwar [EMAIL PROTECTED] wrote: Hello Guys, Got a question relating to the updatePolicy tag in the maven repository configuration, so basically an updatePolicy can have one of the 4 possible values i.e. always,daily,interval:X (in minutes) and never. Now my understanding

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Farhan Sarwar
I see..so its just the updatePolicy settings which makes maven handle the snapshot in a particular way... Anyways..another scenario i was just wondering about when one has a remote-repository cache and that is ..lets say there exist three snapshots versions of an artifact xyz-1.0-SNAPSHOT 1) in

Re: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Eric Redmond
On 8/21/07, Farhan Sarwar [EMAIL PROTECTED] wrote: I see..so its just the updatePolicy settings which makes maven handle the snapshot in a particular way... Yeah, pretty much. Anyways..another scenario i was just wondering about when one has a remote-repository cache and that is ..lets say

RE: Question on updatePolicy and the way it relates to snapshots

2007-08-21 Thread Dave Hoffer
Or you can add updatePolicyalways/updatePolicy to your settings.xml's repository section and make releases and/or snapshots always update which should be the default behavior IMHO. -Dave -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 2:57