Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.3
-
Fix Version/s: 2.7.2
-
Component/s: Maven Surefire Report Plugin
-
Labels:None
-
Environment:Tested on Windows XP & Linux (Ubuntu 09.04) with Maven 2.0.10
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
With a multi-module project, if the reporting configuration set multiple report directories (in the parent POM), then the report / report-only goals generate empty report.
The main / aggregated report says this is 0 Tests.
Module reports are empty html files.
The attached project is a sample project to reproduce this ...
The parent POM reporting conf explicitely set 2 reporting directories.
From the "parent" POM :
- mvn surefire-report:report ==> normal report per modules, nothing to say
- mvn clean
- mvn surefire-report:report -Daggregate=true ==> parent report with 0 tests, empty html report for modules
- mvn surefire-report:report; mvn surefire-report:report-only -Daggregate=true ==> idem, parent report with 0 tests, empty html report for modules
Issue Links
- is duplicated by
-
SUREFIRE-666
Aggregate report is empty for multimodule build.
-
- relates to
-
SUREFIRE-712
[REGRESSION] <reportsDirectories> ignored
-