Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 59604 invoked from network); 17 Aug 2007 12:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 12:29:43 -0000 Received: (qmail 75635 invoked by uid 500); 17 Aug 2007 12:29:39 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 75577 invoked by uid 500); 17 Aug 2007 12:29:39 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 75566 invoked by uid 99); 17 Aug 2007 12:29:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 05:29:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.175.38.168] (HELO rectang.com) (80.175.38.168) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 12:29:31 +0000 Received: from [192.168.1.66] (82-71-30-90.dsl.in-addr.zen.co.uk [82.71.30.90]) by rectang.com (Postfix) with ESMTP id A8EA81815F for ; Fri, 17 Aug 2007 13:29:08 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <7C152640-4D51-4D49-A38E-2B23B06B8143@commonjava.org> References: <3DBFF9AC-4C9C-4E98-BFB2-30EF86DE3F91@commonjava.org> <2BABBE7D2A66E04DB8A66A527D29927E25E643@intrepid.infinity.nu> <7C152640-4D51-4D49-A38E-2B23B06B8143@commonjava.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <55600CC8-F256-4E9A-B430-09CFC558EED0@handyande.co.uk> Content-Transfer-Encoding: 7bit From: Andrew Williams Subject: Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact Date: Fri, 17 Aug 2007 13:29:00 +0100 To: "Maven Developers List" X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org I agree also, publicising a restricted API has got to be a useful thing for outside developers. I was trying to do the same with the plexus container but clearly that did not go so well! Andy On 15 Aug 2007, at 16:13, John Casey wrote: > The only problem here is that the expression evaluator is meant to > give access to build state, not components in the system...which is > why the @component annotation is handled in a completely parallel > subsystem. > > Obviously, plugins _can_ access basically any component in the > container (which I'm a little queasy about too, I'll admit)...but > it's much, much harder to document a free-for-all system like this, > rather than restricting the documentation and interfaces of > approved components to a distinct artifact/sub-website/etc. > > -john > > > On Aug 15, 2007, at 10:59 AM, Brian E. Fox wrote: > >> The >> expressionEvaluator already has a decent api for getting at most >> stuff >> (as demonstrated in the enforcer rules...especially the >> requirePluginVersionDefined rule), the trouble is you have to know >> what >> component you want or expression is available. Currently this is only >> accessible by reading the code and/or debugging maven itself. > > --- > John Casey > Committer and PMC Member, Apache Maven > mail: jdcasey at commonjava dot org > blog: http://www.ejlife.net/blogs/john > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org