相关疑难解决方法(0)

maven surefire报告插件配置

我有一个多模块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-pluginmaven-info-reports-plugin来汇总子项目生成的surefire报告?

java maven-2 surefire

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

java ×1

maven-2 ×1

surefire ×1