我正在使用maven-surefire-report-plugin来生成单元测试报告.这工作正常,但报告包含未显示图像的链接.如何让maven复制报告所需的图标?我应该用皮肤吗?我尝试了没有成功.这是maven-surefire-report-plugin定义:
org.apache.maven.plugins maven-surefire-report-plugin 2.16 true
我试图添加皮肤插件,但它不会影响报告:
org.apache.maven.plugins maven-site-plugin org.apache.maven.skins maven-application-skin 1.0
用图像呈现报告缺少什么?
问题可能太旧了,但我遇到了同样的问题,我找到了答案.该命令mvn site -DgenerateReports=false
仅为surefire-report.html生成css和图像,并且工作正常.