On 21/06/2011, at 6:34 AM, Wendy Smoak wrote: > On Mon, Jun 20, 2011 at 4:29 PM, Jarrod Roberson <[email protected]> > wrote: > >> I have a highly distributed team and not everyone pays attention to their >> emails as good as they should and don't tend to read wiki pages for >> comprehension either. >> thus returning an error that the -SNAPSHOT version you are trying to publish >> is at a release and no longer allowed to be updated would notify them of >> their mistake. > > Archiva already responds with a 409 when you try to deploy a release > that already exists (assuming you've turned on that option) so it > sounds feasible. Someone more familiar with the code can give you a > pointer when they wander by.
You can look in ArchivaDavResourceFactory (under the archiva-webdav module), where SC_CONFLICT appears. Let us know if we can provide any assistance! Cheers, Brett -- Brett Porter [email protected] http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter
