Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 34011 invoked from network); 15 Jun 2010 14:51:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 14:51:56 -0000 Received: (qmail 9612 invoked by uid 500); 15 Jun 2010 14:51:56 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 9517 invoked by uid 500); 15 Jun 2010 14:51: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 9504 invoked by uid 99); 15 Jun 2010 14:51:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 14:51:55 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=AWL,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jason@sonatype.com designates 63.246.20.110 as permitted sender) Received: from [63.246.20.110] (HELO sonatype01.sonatype.com) (63.246.20.110) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 14:51:50 +0000 Received: (qmail 13303 invoked by uid 89); 15 Jun 2010 14:51:29 -0000 Received: from unknown (HELO ?10.0.1.22?) (jason@maven.org@99.225.12.75) by 63-246-20-110.contegix.com with ESMTPA; 15 Jun 2010 14:51:29 -0000 From: Jason van Zyl Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/alternative; boundary=Apple-Mail-6--193938197 Subject: Re: How to get the execution id from a plugin Date: Tue, 15 Jun 2010 10:51:28 -0400 In-Reply-To: To: "Maven Developers List" References: Message-Id: <3927572C-F984-4432-A4FF-EEA97A18C621@sonatype.com> X-Mailer: Apple Mail (2.1078) --Apple-Mail-6--193938197 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii h= ttp://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/= On Jun 15, 2010, at 10:49 AM, = wrote: > ... it does not compile because the central repository does not = contain > artifact maven-plugin-plugin :-( >=20 > Jeff >=20 >> -----Original Message----- >> From: Benjamin Bentmann [mailto:benjamin.bentmann@udo.edu]=20 >> Sent: Tuesday, June 15, 2010 3:49 PM >> To: Maven Developers List >> Subject: Re: How to get the execution id from a plugin >>=20 >>=20 >> Giuseppe.Greco wrote: >>=20 >>> private void execute() throws MojoExecutionException >>> { >>> /* I need to get the execution id here */ >>> } >>=20 >> /** >> * @parameter default-value=3D"${mojoExecution}" >> * @readonly >> */ >> private MojoExecution mojoExecution; >>=20 >> and >>=20 >> mojoExecution.getId(); >>=20 >> should do. I only can't tell since what Maven version that works. >>=20 >>=20 >> Benjamin >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >> For additional commands, e-mail: dev-help@maven.apache.org >>=20 >>=20 >=20 > IMPORTANT: > This e-mail transmission is intended for the named > addressee(s)only. > Its contents are private, confidential and protected > from disclosure and should not be read, copied or > disclosed by any other person. > If you are not the intended recipient, we kindly ask > you to notify the sender immediately by telephone > (+41 (0)58 806 50 00), to redirect the message to the > account "info@b-source.ch" and to delete this e-mail. > E-mail transmissions may be intercepted, altered or > read by unauthorized persons and may contain viruses. > Therefore, it is recommended that you use regular mail > or courier services for any information intended to be > confidential. However, by sending us messages through > e-mail, you authorize and instruct us to correspond by > e-mail in the relevant matter. > Thank you. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org >=20 Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- --Apple-Mail-6--193938197--