blob: 10ce334c8c3a00a21174a0d7a002a288692c0567 [file] [log] [blame]
------
Using Date Type
------
July 2006
------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
~~ distributed with this work for additional information
~~ regarding copyright ownership. The ASF licenses this file
~~ to you under the Apache License, Version 2.0 (the
~~ "License"); you may not use this file except in compliance
~~ with the License. You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing,
~~ software distributed under the License is distributed on an
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~~ KIND, either express or implied. See the License for the
~~ specific language governing permissions and limitations
~~ under the License.
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
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>2.1</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>
+-----+