Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8
-
None
-
Vista SP2 x64, JDK 6u24, Maven 3.0.3, site-plugin 3.0-beta-3
Description
Running mvn site with surefire-reports-plugin enabled and configured generates an empty surefire-report.html.
Using the (new and recommended) <reportsDirectories> works with version 2.7.1, but is broken with 2.7.2 and 2.8!
The (now deprecated) <reportsDirectory> works with all versions.
site-plugin 3 configuration:
... <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <configuration> ... <!-- WORKS ALWAYS --> <!--reportsDirectory>${test.reportsDirectory}</reportsDirectory--> <!-- WORKS with 2.7.1, but NOT with 2.7.2 / 2.8 --> <reportsDirectories> <reportsDirectory>${test.reportsDirectory}</reportsDirectory> </reportsDirectories> </configuration> ...
Attachments
Issue Links
- is related to
-
SUREFIRE-570 Empty surefire reports when a multi-module project is ran with multiple report directories in surefire-report configuration
- Closed