Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 A500FF4FC for ; Mon, 13 May 2013 14:48:11 +0000 (UTC) Received: (qmail 5857 invoked by uid 500); 13 May 2013 13:48:04 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 5055 invoked by uid 500); 13 May 2013 13:47:59 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 4989 invoked by uid 99); 13 May 2013 13:47:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 13:47:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-commons-dev@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 13:47:49 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ubt68-0008Ll-4z for dev@commons.apache.org; Mon, 13 May 2013 15:47:28 +0200 Received: from mail.scalaris.com ([62.154.225.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 May 2013 15:47:28 +0200 Received: from Joerg.Schaible by mail.scalaris.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 May 2013 15:47:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@commons.apache.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: Re: [all] strange maven magic Date: Mon, 13 May 2013 15:47:19 +0200 Organization: Scalaris AG Lines: 21 Message-ID: References: <5190D4D8.2030604@spaceroots.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mail.scalaris.com User-Agent: KNode/4.10.2 X-Virus-Checked: Checked by ClamAV on apache.org Hi Luc, Luc Maisonobe wrote: > Hi all, > > In the last few days, I looked into the commons parent pom as well as > several other poms to set up JaCoCo reports. There is something I don't > understand: with our current setting at Apache, when we run "mvn clean > site", the tests are automatically run. In another non-Apache project, > when I do the same thing, tests are not run, and I have to manually run > them before building the site. > > Could someone explain me what we did to have this magic happen in commons? Surefire must have been configured twice, once time in the normal plugins section and the second time as part of the reports. The surefire "report" will trigger the execution of the tests. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org