You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/03/16 11:35:59 UTC

[jira] (SUREFIRE-753) link name wrong while using the report-only goal of the maven-surefire-report-plugin

     [ https://jira.codehaus.org/browse/SUREFIRE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed SUREFIRE-753.
----------------------------------------

    Resolution: Fixed

Seemed to working in the meantime.

> link name wrong while using the report-only goal of the maven-surefire-report-plugin
> ------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-753
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-753
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.9
>            Reporter: Karl Heinz Marbaise
>         Attachments: surefire-test-case.zip
>
>
> I have configured the maven-surefire-report-plugin to run the report-only goal and produce a report out of the maven-failsafe-plugin (integration tests). 
> The problem is that the link on the generated site is not named as the the outputName defines in contradiction the name of the link is left to "Surefire Report" which results in my current project to have two links "Surefire Report" where the first one represents the report of maven-surefire-plugin and the second the report about the maven-failsafe-
> plugin.
> Technically does this mean that the generated HTML code for the navigation looks like this:
> {code}
> <a href="failsafe-report.html" title="Surefire Report">Surefire Report</a>
> {code}
> Here the pom.xml snippet how i configured the report-plugin:
> {code}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-report-plugin</artifactId>
>         <version>2.9</version>
>         <configuration>
>           <outputName>failsafe-report</outputName>
>           <reportsDirectories>
>             <reportsDirectory>${project.build.directory}/failsafe-reports</reportsDirectory>
>           </reportsDirectories>
>         </configuration>
>         <reportSets>
>           <reportSet>
>             <reports>
>               <report>report-only</report>
>             </reports>
>           </reportSet>
>         </reportSets>
>       </plugin>
> {code}
> This means the name of the link in the navigation must be changed as well. May be it's needed to have a supplemental configuration parameter for this or the outputName could be used instead.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)