From issues-return-127102-archive-asf-public=cust-asf.ponee.io@maven.apache.org Sat Jan 6 23:14:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8BA9118077B for ; Sat, 6 Jan 2018 23:14:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7BBFF160C3C; Sat, 6 Jan 2018 22:14:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BFBC0160C3B for ; Sat, 6 Jan 2018 23:14:03 +0100 (CET) Received: (qmail 96871 invoked by uid 500); 6 Jan 2018 22:14:02 -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 96852 invoked by uid 99); 6 Jan 2018 22:14:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jan 2018 22:14:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 76B77C03C5 for ; Sat, 6 Jan 2018 22:14:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fIxAJIRRsHbW for ; Sat, 6 Jan 2018 22:14:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 36A325F3B7 for ; Sat, 6 Jan 2018 22:14:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6AB00E01A8 for ; Sat, 6 Jan 2018 22:14:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 274F6212F7 for ; Sat, 6 Jan 2018 22:14:00 +0000 (UTC) Date: Sat, 6 Jan 2018 22:14:00 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SUREFIRE-1458) When multiple surefire providers are available through the maven plugin dependency test are executed N times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SUREFIRE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16314953#comment-16314953 ] Tibor Digana edited comment on SUREFIRE-1458 at 1/6/18 10:13 PM: ----------------------------------------------------------------- [~romain.manni-bucau] Dependencies are merged by Maven and not by Surefire. The only trick I am facing is to add a new config parameter {{providers}} as a filter of dependencies: {{*:*surefire-junit* ,*:surefire-testng}} or {{*:*junit5*}} was (Author: tibor17): [~romain.manni-bucau] Dependencies are merged by Maven and not by Surefire. The only trick I am facing is to add a new config parameter {{providers}} as a filter of dependencies: {{*:*surefire-junit**,*:surefire-testng}} or {{*:*junit5*}} > When multiple surefire providers are available through the maven plugin dependency test are executed N times > ------------------------------------------------------------------------------------------------------------ > > Key: SUREFIRE-1458 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1458 > Project: Maven Surefire > Issue Type: New Feature > Reporter: Romain Manni-Bucau > > In a parent surefire-junit47 is enforced and if I add in a child another provider (junit5) then tests are executed twice -- This message was sent by Atlassian JIRA (v6.4.14#64029)