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 63FAB17A43 for ; Wed, 18 Feb 2015 08:42:59 +0000 (UTC) Received: (qmail 78684 invoked by uid 500); 18 Feb 2015 08:42:43 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 78501 invoked by uid 500); 18 Feb 2015 08:42:43 -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 78481 invoked by uid 99); 18 Feb 2015 08:42:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 08:42:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 08:42:38 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 4641BB1181 for ; Wed, 18 Feb 2015 02:42:18 -0600 (CST) Date: Wed, 18 Feb 2015 02:42:18 -0600 (CST) From: "Elad Tabak (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (SUREFIRE-1143) excludedGroups in pom.xml are ignored with TestNG 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/SUREFIRE-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elad Tabak closed SUREFIRE-1143. -------------------------------- Resolution: Not A Bug Not an issue. > excludedGroups in pom.xml are ignored with TestNG > ------------------------------------------------- > > Key: SUREFIRE-1143 > URL: https://jira.codehaus.org/browse/SUREFIRE-1143 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Failsafe Plugin > Affects Versions: 2.18 > Environment: Linux - Ubuntu 14.x. > Oracle JDK 1.7. > Reporter: Elad Tabak > Assignee: Tibor Digana > Attachments: surefire-bug.tar.gz > > > When setting excluded groups in pom.xml under surefire/failsafe plugin, the tests on that groups still getting invoked. > Using TestNG annotation with @Test(groups = ...) > However, using the command line argument "-DexcludedGroups=...", the tests are skipped. > See attached project. To reproduce the issue with the test project: > Run: mvn clean install > Result: test invoked, build failed. > Expected result: test excluded, build pass > Run: mvn clean install -DexcludedGroups=group1 > Result: test excluded, build pass, as expected -- This message was sent by Atlassian JIRA (v6.1.6#6162)