Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 64164 invoked from network); 28 Oct 2007 15:18:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2007 15:18:51 -0000 Received: (qmail 26543 invoked by uid 500); 28 Oct 2007 15:18:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 26502 invoked by uid 500); 28 Oct 2007 15:18:31 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 26491 invoked by uid 99); 28 Oct 2007 15:18:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 08:18:31 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 15:18:34 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Im9u1-0001Ej-BV for users@maven.apache.org; Sun, 28 Oct 2007 08:18:13 -0700 Message-ID: <13454401.post@talk.nabble.com> Date: Sun, 28 Oct 2007 08:18:13 -0700 (PDT) From: Dave Syer To: users@maven.apache.org Subject: Setting properties at runtime in a plugin component? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: david_syer@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org Anyone know if it is possible to override component property values inside plugins in the pom somehow. The process of converting the XML elements from is a little bit of a dark art. It is obvious from the "mvn -X" debug output when you add a element, and it does seem to be injected into the plugin Mojo directly into an annotated @parameter . But @component dependencies of the plugin (e.g. doxiaBook in the DoxiaRenderBooksMojo) do not seem to be accessible from the pom. I figure Plexus ought to be able to do something like this, but I can't find any examples or documentation. -- View this message in context: http://www.nabble.com/Setting-properties-at-runtime-in-a-plugin-component--tf4707240s177.html#a13454401 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org