Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-688

Aggregate report is empty for multi-module project


    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Maven 3.0.1, Site 3.0-beta-3, Windows XP SP3


      The parent project has a site configuration with an aggregated surefire report and inherited set to false. The child module has one test.

      Problem: "mvn clean; mvn site-deploy" creates a surefire report with zero tests. With 2.7.2-SNAPSHOT as of today the problem is the same.

      Why does the surefire report plugin not immediately descend to the child modules, compile and test them while executing the aggregate report for the parent module?

      The problem seems to be that the aggregate surefire report for the parent is generated but the surefire plugin doesn't run the tests for the child modules before. So the aggregate surefire report doesn't find any surefire test results for the child modules.

      If I run "mvn clean test; mvn site-deploy", the resulting aggregate surefire report is correct. The reason is probably that the site-deploy collects the surefire results for the child modules from the previous run.

        17 kB
        Martin Ackermann


        Martin Ackermann created issue -
        Martin Ackermann made changes -
        Field Original Value New Value
        Attachment [ 53291 ]
        Michael Osipov made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:23:32 UTC 2015 [ 1428240212200 ]
        Mark Thomas made changes -
        Workflow jira [ 12727934 ] Default workflow, editable Closed status [ 12759046 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 01:36:33 UTC 2015 [ 1428284193036 ]
        Mark Thomas made changes -
        Workflow jira [ 12965146 ] Default workflow, editable Closed status [ 13002111 ]


          • Assignee:
            Martin Ackermann
          • Votes:
            3 Vote for this issue
            4 Start watching this issue


            • Created: