Interesting… and I guess it is good to timestamp the SNAPSHOTS as well… I would assume that if you defined “10.x-SNAPSHOT” as a dependency it would give you the most recent timestamp by default?
Anyway, yes, I’m fine with deleting everything prior to the most recent snapshot. Thanks for setting all this up. Mark From: [email protected] [mailto:[email protected]] On Behalf Of Michael Downey Sent: Friday, December 16, 2011 8:57 AM To: [email protected] Subject: Re: [OPENMRS-DEV] Daily trun snapshot posted to Openmrs Maven repo? Hi Mark, On Friday, December 16, 2011 at 6:46 AM, Mark Goodrich wrote: Do we need to even write a scheduled task to remove old snapshots? Wouldn't the new ones just replace the old ones anyway? If you publish the same version multiple times (i.e, 1.10-SNAPSHOT get published nightly) to the repo, how does Maven distinguish between them? This is what I thought too at first. Maven 2 supports a parameter of uniqueVersion, which when set to false in the POM does not deploy artifacts with timestamped file names. However, this will not stick around for Maven 3, as (from what I have found in my research) the thinking by the Maven team is that in theory anyone should be able to rebuild from any point in the development lifecycle (and thus, the necessity for many different snapshots with unique names). The "official" recommendation seems to be an external cleanup of the repository. Michael ________________________________ Click here to unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list

