Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADD5A9D3B for ; Tue, 3 Jan 2012 06:03:15 +0000 (UTC) Received: (qmail 96992 invoked by uid 500); 3 Jan 2012 06:03:09 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 96187 invoked by uid 500); 3 Jan 2012 06:02:55 -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 96176 invoked by uid 99); 3 Jan 2012 06:02:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 06:02:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 06:02:38 +0000 Received: by ghy10 with SMTP id 10so182991516ghy.30 for ; Mon, 02 Jan 2012 22:02:16 -0800 (PST) Received: by 10.236.179.7 with SMTP id g7mr64337854yhm.74.1325570536731; Mon, 02 Jan 2012 22:02:16 -0800 (PST) Received: from [10.0.0.1] (CPE-124-184-249-130.lns14.cht.bigpond.net.au. [124.184.249.130]) by mx.google.com with ESMTPS id k3sm123800218ani.13.2012.01.02.22.02.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jan 2012 22:02:15 -0800 (PST) Sender: Brett Porter Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Detecting current phase in a plugin From: Brett Porter In-Reply-To: Date: Tue, 3 Jan 2012 17:02:10 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Maven Developers List" X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org It's not possible, but depending on what you want to do there might be = other ways to achieve it. Take a look at: = http://stackoverflow.com/questions/3746585/determining-maven-execution-pha= se-within-a-plugin On 03/01/2012, at 3:21 PM, Carson Gross wrote: > I'd like to detect the current phase of a build within a plugin's = execute() > method. I dug around in the project object and plugin context, but > couldn't find it. Can anyone point me the right direction? >=20 > Cheers, > Carson -- Brett Porter brett@apache.org http://brettporter.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org