Reputation: 24540
Is there a Maven plugin that generates the changes.xml
file for the changes plugin (http://maven.apache.org/plugins/maven-changes-plugin/index.html) automatically using the information provided by the Git commits?
This git log
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
should be used to create this changes.xml section:
<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>
Upvotes: 3
Views: 1918
Reputation: 3510
It can be done with Git Changelog Maven Plugin. There are a bunch of examples in the example pom.xml.
Upvotes: 0
Reputation: 14512
The maven-gitlog-plugin plugin generates a changelog (not exactly generates your changes.xml
file).
Also the official maven changes plugin has now support for github. See configuring github report.
Upvotes: 1