Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF42B9B27 for ; Sun, 2 Jun 2013 13:44:30 +0000 (UTC) Received: (qmail 98707 invoked by uid 500); 2 Jun 2013 13:44:29 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 98551 invoked by uid 500); 2 Jun 2013 13:44:29 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 98543 invoked by uid 99); 2 Jun 2013 13:44:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 13:44:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 13:44:23 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 457F3B073F for ; Sun, 2 Jun 2013 08:44:03 -0500 (CDT) Date: Sun, 2 Jun 2013 08:44:03 -0500 (CDT) From: "Robert Scholte (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MNG-2852) process-test-classes phase is run even when maven.test.skip is called MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MNG-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326107#comment-326107 ] Robert Scholte commented on MNG-2852: ------------------------------------- For now the solution is: {code:xml} maven-antrun-plugin 1.7 process-test-classes run ${maven.test.skip} Running Jibx Ant task {code} > process-test-classes phase is run even when maven.test.skip is called > --------------------------------------------------------------------- > > Key: MNG-2852 > URL: https://jira.codehaus.org/browse/MNG-2852 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 2.0.5 > Reporter: Dan Diephouse > Fix For: Issues to be reviewed for 3.x > > > I'm have some bytecode processing which occurs in the {{process-test-classes}} phase. When I skip the tests, it still tries to run my ant task: > {noformat} > [INFO] [compiler:testCompile] > [INFO] Not compiling test sources > [INFO] [antrun:run {execution: default}] > [echo] Running Jibx Ant task > {noformat} > My task definition looks like this: > {code:xml} > > maven-antrun-plugin > > > process-test-classes > > run > > > > Running Jibx Ant task > > > > > > > > > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira