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 EFE3711CDF for ; Tue, 22 Apr 2014 17:00:49 +0000 (UTC) Received: (qmail 27184 invoked by uid 500); 22 Apr 2014 17:00:46 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 27122 invoked by uid 500); 22 Apr 2014 17:00:46 -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 27114 invoked by uid 99); 22 Apr 2014 17:00:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 17:00:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.86.168.183] (HELO mxout-08.mxes.net) (216.86.168.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 17:00:40 +0000 Received: from mpb.ifedorenko.com (unknown [24.246.83.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 158D5509B6 for ; Tue, 22 Apr 2014 13:00:17 -0400 (EDT) Message-ID: <5356A00E.4070508@ifedorenko.com> Date: Tue, 22 Apr 2014 12:59:58 -0400 From: Igor Fedorenko User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: dev@maven.apache.org Subject: Re: How can I get my Mojo to skip References: <1398183198022-5791779.post@n5.nabble.com> In-Reply-To: <1398183198022-5791779.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Maven does not provide generic way to skip mojo executions. This needs to be explicitly implemented in my-maven-plugin. -- Regards, Igor On 2014-04-22, 12:13, DK wrote: > If I add the following to my Maven plugin configuration it still executes the > plugin goal. > Is there something I need to do in the Mojo code to obey the skip flag? > > > com.my.maven.plugins > my-maven-plugin > 1.0-SNAPSHOT > > true > > > > some-goal > pre-integration-test > > some-goal > > > > > > > > -- > View this message in context: http://maven.40175.n5.nabble.com/How-can-I-get-my-Mojo-to-skip-tp5791779.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org