Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 Report Plugin
-
Fix Version/s: None
-
Component/s: Maven Surefire Report Plugin
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
I have a maven project with a POM packaging in which I run test with the maven-surefire-plugin. All works fine, but I am not able to generate the surefire report.
After investigations in the source code of the maven-surefire-report-plugin, it seems to me that the implementation of the method SurefireReportMojo.canGenerateReport is not correct. The condition is too restrictive. It seems to me that the condition should be something like "Does a surefire execution report exist?".
A patch that change the condition as explain in the bug description.