[ http://jira.codehaus.org/browse/MSUREFIREREP-28?page=all ]
Christophe DENEUX updated MSUREFIREREP-28:
------------------------------------------
Attachment: MSUREFIREREP-28.patch
A patch that change the condition as explain in the bug description.
> Unable to generate the surefire report if the project is not a java project,
> but tests are written in JAVA
> ----------------------------------------------------------------------------------------------------------
>
> Key: MSUREFIREREP-28
> URL: http://jira.codehaus.org/browse/MSUREFIREREP-28
> Project: Maven 2.x Surefire report Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Christophe DENEUX
> Attachments: MSUREFIREREP-28.patch
>
>
> 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?".
--
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