Using Date Type
To generate the changelog reports showing what has changed between two dates, you should use the "date" type
.
With the following configuration, the generated reports will cover SCM activities between Aug 1, 2005 to Sept 1, 2005. Please note that the date range is inclusive.
Note: The <dateFormat>
configuration is used only when parsing the dates that come from your SCM. It is not used to format the dates in the report.
<project> ... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <type>date</type> <dates> <date implementation="java.lang.String">2005-08-01</date> <date implementation="java.lang.String">2005-09-01</date> </dates> <dateFormat>yyyy-MM-dd</dateFormat> </configuration> </plugin> </plugins> </reporting> ... </project>