是否有maven插件使用git提交提供的信息自动为changes插件(http://maven.apache.org/plugins/maven-changes-plugin/index.html)生成changes.xml
文件?
这个git日志
commit af2ce13dc277d862ffddf4c03c809b73587188e3
Author: Stefan Birkner <[email protected]>
Date: Tue Feb 11 00:13:53 2014 +0100
[maven-release-plugin] prepare release system-rules-1.5.0
commit e78934311d68a0fb081d7a46e313952e21bd93f8
Author: Stefan Birkner <[email protected]>
Date: Wed Feb 5 00:10:25 2014 +0100
Fix wrong method names in class' Javadoc.
commit 42c054881fff69f682d7f3f6ecee51974f515d80
Author: Stefan Birkner <[email protected]>
Date: Wed Sep 11 10:26:23 2013 +0200
[maven-release-plugin] prepare for next development iteration
应用于创建此changes.xml节:
<release version="1.5.0" date="1024-02-11">
<action dev="Stefan Birkner" type="fix" date="2014-02-05">
Fix wrong method names in class' Javadoc.
</action>
</release>
最佳答案
maven-gitlog-plugin插件生成一个变更日志(并不完全生成您的changes.xml
文件)。
另外,官方的maven changes插件现在支持github。见configuring github report。
关于git - 从git commit消息自动更新Maven的changes.xml,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/23539173/