版本:Apache 3.0.5
我成功地通过maven站点插件和命令changelog.xml生成了一个mvn site
。Pom.xml的站点插件内容:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-2</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
现在我也需要一个changelog.html,我找不到关于如何配置我的pom.xml以生成一个html版本的变更日志的任何信息。
发布于 2018-12-13 12:36:52
您应该将插件移动到pom.xml的reporting部分。
要生成报告,您必须将下面的内容添加到changelog插件的配置中,如果您想要的话,还需要开发活动。还有一份文件活动报告。
<reportSets>
<reportSet>
<reports>
<report>changelog</report>
<report>dev-activity</report>
</reports>
</reportSet>
插件页面提供了以下报告的示例:http://maven.apache.org/plugins/maven-changelog-plugin/changelog.html
https://stackoverflow.com/questions/29832653
复制相似问题