[REGRESSION] <reportsDirectories> ignored
-----------------------------------------

                 Key: SUREFIRE-712
                 URL: http://jira.codehaus.org/browse/SUREFIRE-712
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Report Plugin
    Affects Versions: 2.8
         Environment: Vista SP2 x64, JDK 6u24, Maven 3.0.3, site-plugin 
3.0-beta-3
            Reporter: André Fügenschuh


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:
{code}
  ...
  <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>
  ...
{code}

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


Reply via email to