archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <>
Subject Re: Is there a way to automatically delete all the -SNAPSHOT versions when a non-SNAPSHOT version is uploaded?
Date Tue, 21 Jun 2011 00:17:52 GMT

On 21/06/2011, at 6:34 AM, Wendy Smoak wrote:

> On Mon, Jun 20, 2011 at 4:29 PM, Jarrod Roberson <> 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!


Brett Porter

View raw message