Maven reporting plugins do not execute if a unit test failure occurs

前端 未结 5 1354
予麋鹿
予麋鹿 2021-01-13 19:03

None of the plugins in the reporting section of Maven execute if there is a unit test failure.

I found that I can set maven.test.failure.ignore=true here - http://

5条回答
  •  心在旅途
    2021-01-13 19:54

    In the link you posted:

    With the latest version (2.1.2), I get a message saying that "There are some test failure," but I get no reports anywhere whether or not I specify that variable, or whether or not I specify "testFailureIgnore" in the plugin config. I got the reports fine with 2.0, but not with 2.1.2.

    Do you need version 2,1 or can you work with a 2.0 version of Maven?

提交回复
热议问题