stephenconnolly wrote: > > you could try and resolve the file from the local repository and an empty > set of remote repositories... if the file resolves, then I'd check the > size > and time stamp and only then decide what to do >
Thanks Stephen. I'm going to forgo checking for timestamps in my case because I'm grabbing files off sourceforge and (I assume) each mirror will use its own timestamp. Regarding checking for size, is there really a need? Once someone makes an official release (on Maven or SourceForge) don't we operate under the assumption that it's immutable? Users can always delete artifacts from their local repository in case of corruption but I think that is going to be extremely rare. Am I wrong? Gili -- View this message in context: http://maven.40175.n5.nabble.com/Checking-if-an-artifact-exists-in-the-local-repository-tp3358513p3358617.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
