Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B8C410E82 for ; Tue, 4 Jun 2013 17:58:25 +0000 (UTC) Received: (qmail 24540 invoked by uid 500); 4 Jun 2013 17:58:23 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 24374 invoked by uid 500); 4 Jun 2013 17:58:23 -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 24365 invoked by uid 99); 4 Jun 2013 17:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 17:58:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bmathus@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 17:58:15 +0000 Received: by mail-ea0-f175.google.com with SMTP id d15so449890eaj.6 for ; Tue, 04 Jun 2013 10:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=/S4pyVMk71Kvj/jo12ZIbepbr/JAOOQ3xYpCGl8dp/o=; b=RZO04k8bMiW9NU4F3j9ojZ8016uz86UUzXUk6FVu0j/HVLyg/AmssWGO9Y1E/LdggJ FdRs7i2yuGFjsTf9qOIqPtOrPmrHUX4TAGsBToZS4cZRR3QP6SQ3GKwObFXLfkGqCdoK sjELSUUtvrN6LORrsfoxUhiGHwxzGKBm1LhwpXp20k4hj0NuOv+aMmuselY8lfAXPlGj 7iY7McxvHT9bXlRIMWT1bNj0aekF8E6J7TBYh+2gvdrQDOAQLcCI/mIi1DodWUeVC51i gW/kP1F3iFC3VwbYbg3q7uQHqMbTROc4tFq1ryMCQZ6mvU67PUKkm5nAHATSdffrDycQ 5QEw== MIME-Version: 1.0 X-Received: by 10.14.180.4 with SMTP id i4mr7870894eem.63.1370368675579; Tue, 04 Jun 2013 10:57:55 -0700 (PDT) Sender: bmathus@gmail.com Received: by 10.14.91.130 with HTTP; Tue, 4 Jun 2013 10:57:55 -0700 (PDT) Received: by 10.14.91.130 with HTTP; Tue, 4 Jun 2013 10:57:55 -0700 (PDT) In-Reply-To: <1370366185321-5758242.post@n5.nabble.com> References: <1370356211447-5758214.post@n5.nabble.com> <1370358083485-5758217.post@n5.nabble.com> <1370366185321-5758242.post@n5.nabble.com> Date: Tue, 4 Jun 2013 19:57:55 +0200 X-Google-Sender-Auth: Iq1fG3JAB-3OMUoocMoT38FfPQM Message-ID: Subject: Re: Call a custom plugin from another project From: Baptiste MATHUS To: Maven Users List Content-Type: multipart/alternative; boundary=047d7b62214a1ea96004de57d23d X-Virus-Checked: Checked by ClamAV on apache.org --047d7b62214a1ea96004de57d23d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If I understand correctly, you want to be able to execute your plugin without having to declare it. If so then your are on the right path since the only way to do that is to create a custom lifecycle. Hope this helps. Cheers -- Baptiste Le 4 juin 2013 19:17, "alesky" a =C3=A9crit= : > ok Stephen thanks > > specifying an execution to the plugin it works > > > > but i would like to injects an execution in the packaging for the specifi= ed > plugin project > in the way that i can use the plugin in this way, and don't have to force > the user to specific the execution > > > > but i didn't found any documentation on-line or in the reference guide > regarding this point > or at list I'm not able to find a correct on-line document to do it > > what i i found is that in the plugin annotation there is the @execute > annotation, > but from my understand this annotation is complete different from what i > want to do > > @execute goal=3D"" > This will execute the given goal before execution of this one. The goal > name > is specified using the prefix:goal notation. > @execute phase=3D"" > This will fork an alternate build lifecycle up to the specified phase > before > continuing to execute the current one. If no lifecycle is specified, Mave= n > will use the lifecycle of the current build. > @execute lifecycle=3D"" phase=3D"" > This will execute the given alternate lifecycle. A custom lifecycle can b= e > defined in META-INF/maven/lifecycles.xml. > > > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Call-a-custom-plugin-from-another-projec= t-tp5758214p5758242.html > 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 > > --047d7b62214a1ea96004de57d23d--