[ 
https://jira.codehaus.org/browse/SUREFIRE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283983#comment-283983
 ] 

Stephen Connolly commented on SUREFIRE-691:
-------------------------------------------

May be fixed by SUREFIRE-772... if not SUREFIRE-772 will have made the existing 
patches redundant and the only change required would be 

{noformat}
Index: 
maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
===================================================================
--- 
maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
 (revision 1204901)
+++ 
maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
 (working copy)
@@ -59,9 +59,8 @@
 
     /**
      * If set to true the surefire report will be generated even when there 
are no surefire result files.
-     * Defaulyts to <code>true</code> to preserve legacy behaviour pre 2.10.
      *
-     * @parameter expression="${alwaysGenerateSurefireReport}" 
default-value="true"
+     * @parameter expression="${alwaysGenerateSurefireReport}" 
default-value="false"
      * @noinspection UnusedDeclaration
      * @since 2.11
      */
{noformat}

> Skip reports and menu link generation when it does not make sense (i.e: test 
> results are missing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-691
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-691
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.8
>            Reporter: Marcin Kuthan
>            Priority: Minor
>         Attachments: screenshot.png, SUREFIRE-691.patch, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to