使用 Maven 3 管理报表插件执行的类,通过MavenReportExecutor ( implementation ):报表插件可以在maven-site-plugin的<configuration>元素或任何其他报表构建插件中配置,其 XML 模型对应于插件的List< ReportPlugin > 参数:
<reportPlugins> <plugin> <groupId/> <artifactId/> <version/> <configuration/> <reports/> <reportSets> <reportSet> <id/> <configuration/> <reports/> </reportSet> </reportSets> </plugin> </reportPlugins>
请注意,这是 POM <reporting>部分中插件的模型:
Maven 3 核心通过ReportingConverter组件将<reporting> POM 部分自动转换为maven-site-plugin配置。