You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "panxiaobo (JIRA)" <ji...@codehaus.org> on 2011/01/19 04:19:58 UTC

[jira] Updated: (SUREFIRE-686) maven reported "BUILD FAILURE" even if all tests passed

     [ http://jira.codehaus.org/browse/SUREFIRE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

panxiaobo updated SUREFIRE-686:
-------------------------------

    Attachment: build-output-2.7.2.txt

the build output of using 2.7.2-SNAPSHOT

> maven reported "BUILD FAILURE" even if all tests passed
> -------------------------------------------------------
>
>                 Key: SUREFIRE-686
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-686
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>         Environment: windows 2003 zh_CN
> jdk 1.5.0_07
> maven 2.2.1, 3.0.1, 3.0.2
>            Reporter: panxiaobo
>         Attachments: build-output-2.7.2.txt, build-output.txt
>
>
> I tried to build a project with maven, the project contains junit test.
> maven reported "BUILD FAILURE" even if all tests passed.
> maven output:
> =============================
> Results :
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> =============================
> one of the tests is using jacob 1.14.3 to instance a COM, and after deleting the test, maven build successfully.
> more detail output are attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira