在我的项目中,我有几个模块。当我使用surefire maven插件生成报告时,它分别为每个模块创建报告。我想合并此报告。有没有办法合并这两个独立的报告。在surefire插件中有什么配置吗?
谢谢,
发布于 2015-10-15 23:45:05
你可以看一下标签
<reportsDirectory>
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#reportsDirectory
发布于 2019-11-20 20:40:02
使用
<aggregate>true</aggregate>例如:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>https://stackoverflow.com/questions/22036042
复制相似问题