Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 28648 invoked from network); 3 Nov 2009 08:16:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 08:16:25 -0000 Received: (qmail 90864 invoked by uid 500); 3 Nov 2009 08:16:25 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 90794 invoked by uid 500); 3 Nov 2009 08:16:25 -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 90784 invoked by uid 99); 3 Nov 2009 08:16:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 08:16:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 08:16:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 4981F1620027 for ; Tue, 3 Nov 2009 02:15:55 -0600 (CST) Date: Tue, 3 Nov 2009 02:15:55 -0600 (CST) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Message-ID: <3205834.1722.1257236155201.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <101760297.1150275221616.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Closed: (SUREFIRE-235) failure reason not displayed MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/SUREFIRE-235?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed SUREFIRE-235. --------------------------------- Resolution: Cannot Reproduce Assignee: Brett Porter the configuration in the POM works fine with 2.4.3. > failure reason not displayed > ---------------------------- > > Key: SUREFIRE-235 > URL: http://jira.codehaus.org/browse/SUREFIRE-235 > Project: Maven Surefire > Issue Type: Improvement > Affects Versions: 2.0 (2.2 plugin) > Reporter: J=F6rg Hohwiller > Assignee: Brett Porter > > Neigther with "mvn test" nor with "mvn -X test" I get the reason why a un= it test fails. > Of course I can run the test within my IDE but in my case it worked withi= n the IDE and only did NOT work in maven2. > After times of digging I found that there is a bug in sufrefire (MSUREFIR= E-115) causing this problem. > It would have saved me a lot of time if surefire would log the reason if = a test fails. This should include stacktraces of Exceptions if started with= -X. Currently I only get: > Caused by: org.apache.maven.plugin.MojoFailureException: There are test f= ailure. > at org.apache.maven.plugin.surefire.SurefirePlugin.execute(Surefi= rePlugn.java:403) > what is absolutely useless to track down the problem. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira