From issues-return-99344-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Thu Jan 1 14:44:36 2015 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 BE551107F8 for ; Thu, 1 Jan 2015 14:44:36 +0000 (UTC) Received: (qmail 46368 invoked by uid 500); 1 Jan 2015 14:44:37 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 46314 invoked by uid 500); 1 Jan 2015 14:44:37 -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 46303 invoked by uid 99); 1 Jan 2015 14:44:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2015 14:44:35 +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; Thu, 01 Jan 2015 14:44:30 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 52813B1158 for ; Thu, 1 Jan 2015 08:44:10 -0600 (CST) Date: Thu, 1 Jan 2015 08:44:10 -0600 (CST) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (SUREFIRE-861) Overriding excludes in profile does not achieve desired result 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-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tibor Digana closed SUREFIRE-861. --------------------------------- Resolution: Not A Bug This has nothing to do with surefire. You should create a profile "activeByDefault" with particular exclusion section. Other profile as it is now. > Overriding excludes in profile does not achieve desired result > -------------------------------------------------------------- > > Key: SUREFIRE-861 > URL: https://jira.codehaus.org/browse/SUREFIRE-861 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin > Affects Versions: 2.12 > Environment: Win 7 Java 6 u 30 64bit Mvn 3.0.4 > Reporter: Karsten Tinnefeld > Priority: Minor > > Overriding excludes in a profile does not work, the override is simply ignored. This configuration should prevent surefire from running certain tests except when the profile run-integration-tests is set: > > > > > > maven-surefire-plugin > 2.12 > > > **/*IntegrationTest.java > > > > > > > > > run-integration-tests > > > > > maven-surefire-plugin > > > > > > > > > > > As a work-around, this ugly syntax can be applied: > > > > run-integration-tests > > > > > maven-surefire-plugin > > > NONE > > > > > > > > > > However, I consider this a bug. -- This message was sent by Atlassian JIRA (v6.1.6#6162)