我有一个多模块maven项目.父pom.xml只是一种引用4个子项目的公共信息的方法.我运行了很多JUnit测试,并且还使用maven-info-reports-plugin为Project WebSite设置了父项目.
我在父级中配置了maven-surefire-report-plugin,它在每个子项目中生成具有正确信息的target/site/surefire-report.html文件.
我的问题是当我通过网站运行我的项目网站时:运行我没有在项目网站上看到任何surefire-report.html文件.显示的那个位于父目标目录中,并且没有定义单元测试.
有没有办法可以配置maven-surefire-report-plugin或maven-info-reports-plugin来汇总子项目生成的surefire报告?