Return-Path: Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: (qmail 72477 invoked from network); 16 Nov 2010 22:19:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 22:19:11 -0000 Received: (qmail 96020 invoked by uid 500); 16 Nov 2010 22:19:42 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 95915 invoked by uid 500); 16 Nov 2010 22:19:41 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 95907 invoked by uid 99); 16 Nov 2010 22:19:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 22:19:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jim.sellers@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 22:19:34 +0000 Received: by iwn41 with SMTP id 41so1698274iwn.15 for ; Tue, 16 Nov 2010 14:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/StpWDKzIBvW4U2GJFmTID8EmBGdT4RhrhwA4fHjzZw=; b=YECb65bakSfE6w7F+wAJgrelc36N9iOEX8i+s13uAYUrH3jUsLbi20rg8MZ1Lh5KsY XS7/Wp1uvEJca81g7ZvyyW4bkuTOe38FoK0ip9g1PAVJvJ6XHqi5YKGpxtJnh25ffF0C lBD4FYPZD3Xw8YOsLhWFpiv241RF/yJ8qDt38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dDwW6G2q1/rXaQAj8aM9PtdcH5EZW3iyBg1uLWZEmjdjoa63IoUQwXjnlDEC8Q7Kne zMvnAyyJDw7zzOpLY337F2iX7mfgVrLD2VxsEGcJFFgYRYaExP63Ywu0msZpk4SQC2hP KEmhgquDwkFndxrXoz/29/GBp62+4daYNWcDw= MIME-Version: 1.0 Received: by 10.231.17.200 with SMTP id t8mr6074968iba.184.1289945953319; Tue, 16 Nov 2010 14:19:13 -0800 (PST) Received: by 10.231.19.5 with HTTP; Tue, 16 Nov 2010 14:19:13 -0800 (PST) Date: Tue, 16 Nov 2010 17:19:13 -0500 Message-ID: Subject: consumer documentation out of date? From: Jim Sellers To: dev@archiva.apache.org Content-Type: multipart/alternative; boundary=000325556ffe53baa4049532f25f X-Virus-Checked: Checked by ClamAV on apache.org --000325556ffe53baa4049532f25f Content-Type: text/plain; charset=ISO-8859-1 Hi all. I'm trying to write a consumer that deletes released artifacts by groupId and date (loaded from a properties file in the conf directory). We're doing this because we don't need to keep all released binaries ever built and to address disk issues. I'm basing my impl on RepositoryPurgeConsumer. However I'm having some trouble when trying to follow the docs. Even looking looking at the latest snapshot version [1] or the sample plugin [2]. From MRM-1015 [3] I would guess that some spring config is now needed. If I unpack archiva-core-consumers-1.3.1.jar I find both plexus config and spring config. My questions come down to: 1) What config do I need in my pom to generate the correct files? 2) What spring config do I need to have? 3) What plexus comments do I need (if any) to add to my code? Thanks in advance for any help. Jim [1] http://archiva.apache.org/docs/1.4-SNAPSHOT/customising/writing-consumer.html [2] http://svn.apache.org/repos/asf/archiva/sandbox/archiva-consumer-plugin/ [3] http://jira.codehaus.org/browse/MRM-1015 --000325556ffe53baa4049532f25f--