将surefire和故障保护报告与maven surefire报告插件相结合

将surefire和故障保护报告与maven surefire报告插件相结合,maven,maven-surefire-plugin,Maven,Maven Surefire Plugin,我试图获得并合并测试报告,其中列出了由Surefire和Failsafe运行的测试 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${maven.surefire.plugin.version}</version

我试图获得并合并测试报告,其中列出了由Surefire和Failsafe运行的测试

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-report-plugin</artifactId>
    <version>${maven.surefire.plugin.version}</version>
    <configuration>
        <title>Foo Bar</title>
        <aggregate>true</aggregate>
    </configuration>
    <reportSets>
        <reportSet>
            <id>integration-tests</id>
            <reports>
                <report>report</report>
                <report>failsafe-report-only</report>
            </reports>
        </reportSet>
    </reportSets>
</plugin>

org.apache.maven.plugins
maven surefire报告插件
${maven.surefire.plugin.version}
富吧
真的
集成测试
报告
仅故障保护报告
在执行als测试并运行
mvn site:site
后,将生成两个报告

  • surefire-report.html
  • failsafe-report.html
但是我想要的是一个单独的报告文件,而不是两个单独的报告,而不在插件配置中提供每个maven模块。有可能实现这种行为吗?如果有,如何实现