Return-Path: Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: (qmail 57489 invoked from network); 18 Nov 2010 22:42:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 22:42:46 -0000 Received: (qmail 43520 invoked by uid 500); 18 Nov 2010 22:43:18 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 43416 invoked by uid 500); 18 Nov 2010 22:43:17 -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 43408 invoked by uid 99); 18 Nov 2010 22:43:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 22:43:17 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DATE_IN_PAST_06_12,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.42] (HELO mail-pw0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 22:43:08 +0000 Received: by pwj5 with SMTP id 5so1500627pwj.15 for ; Thu, 18 Nov 2010 14:42:47 -0800 (PST) Received: by 10.142.134.2 with SMTP id h2mr1070911wfd.332.1290120167181; Thu, 18 Nov 2010 14:42:47 -0800 (PST) Received: from [10.0.0.1] (CPE-121-216-211-154.lnse3.ken.bigpond.net.au [121.216.211.154]) by mx.google.com with ESMTPS id x18sm1023496wfa.11.2010.11.18.14.42.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Nov 2010 14:42:43 -0800 (PST) Sender: Brett Porter Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: consumer documentation out of date? From: Brett Porter In-Reply-To: Date: Thu, 18 Nov 2010 22:30:16 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <44FA00DC-3944-4217-B91F-5985BC6BF097@apache.org> References: To: dev@archiva.apache.org X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org On 18/11/2010, at 1:57 PM, Deng Ching wrote: >>=20 >> What I meant by # 1 was there any specific pom config that I needed = to do in >> order to build a plugin. e.g. in the doc in the website it talks = about the >> plexus-maven-plugin. I'll start with just using the = archiva-consumers as my >> parent. >=20 > It shouldn't be necessary to use archiva-consumers as parent, but > there's no problem in using it too. Using this would only make sense if it's to be contributed into Archiva = though - otherwise you'll end up wanting your own parent structure. >=20 > As an additional note, if you will be using Plexus to wire the > components in your consumer instead of Spring, you'd need to have this > configuration in your POM: >=20 > > org.codehaus.plexus > plexus-component-metadata > 1.0-beta-3.0.5 > > > generate > generate-resources > > generate-metadata > > > > >=20 > We've replaced the plexus-maven-plugin with the above. This is already > configured in archiva-consumers POM 1.3.1, so if you're using that as > your parent already, you don't need to configure the above plugin in > your consumer's POM. This (and hopefully the docs) should continue to work. The Plexus API = and metadata has been fully mapped onto Spring. However, if you want to = update it to use Spring directly this plugin won't be needed (and we'd = be most appreciated of an updates to the docs along those lines!) Cheers, Brett -- Brett Porter brett@apache.org http://brettporter.wordpress.com/