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

[jira] Updated: (SUREFIRE-691) Skip reports and menu link generation when it does not make sense (i.e: test results are missing)

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

Stefan Birkner updated SUREFIRE-691:
------------------------------------

    Attachment: SUREFIRE-691.patch

Here's the bugfix. I implemented canGenerateReport() on SurefireReportMojo.

> Skip reports and menu link generation when it does not make sense (i.e: test results are missing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-691
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-691
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.7.3
>            Reporter: Marcin Kuthan
>            Priority: Minor
>         Attachments: screenshot.png, SUREFIRE-691.patch
>
>
> Surefire report page and link in the menu are generated even if there is no tests. It also happens for submodules when -Daggregate=true is given. 
> Another plugins which supports report aggregation (m-pmd-p, m-javadoc-p, m-jxr-p) don't generate link in the menu and empty report page when report does not make sense.

-- 
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