diff --git a/changelog/plugin.jelly b/changelog/plugin.jelly index d522da36..24768cb9 100644 --- a/changelog/plugin.jelly +++ b/changelog/plugin.jelly @@ -24,6 +24,8 @@ xmlns:define="jelly:define" xmlns:changelog="changelog" xmlns:doc="doc" + xmlns:util="jelly:util" + xmlns:x="jelly:xml" xmlns:maven="jelly:maven"> @@ -78,6 +80,29 @@ The maven.changelog.date property is required when maven.changelog.type==date. The value should be the absolute date for the start of the log. + + + + + + + + + + ${versionElems.get(0).attributeValue('date')} + + + Release date must be of the form yyyy-mm-dd! + + + + + No changes.xml found in ${maven.docs.src}! + + + diff --git a/changelog/plugin.properties b/changelog/plugin.properties index b8b57b96..2bab411f 100644 --- a/changelog/plugin.properties +++ b/changelog/plugin.properties @@ -25,6 +25,7 @@ maven.changelog.svn.baseurl=${pom.repository.url} maven.changelog.type = range maven.changelog.range = 30 +#maven.changelog.date could be 'lastRelease' #maven.changelog.date = #maven.changelog.tag = diff --git a/changelog/xdocs/changes.xml b/changelog/xdocs/changes.xml index bde96c5a..c801cd58 100644 --- a/changelog/xdocs/changes.xml +++ b/changelog/xdocs/changes.xml @@ -25,6 +25,7 @@ + New 'lastRelease' option for maven.changelog.date. Some valid scm urls are not allowed. Auto select factory from connection doesn't work if provider name length different from 3. Add MKS SI support. diff --git a/changelog/xdocs/properties.xml b/changelog/xdocs/properties.xml index 58bde142..f26cc1d3 100644 --- a/changelog/xdocs/properties.xml +++ b/changelog/xdocs/properties.xml @@ -70,6 +70,8 @@ Specifies an absolute date to use when generating the change log. This is used by the "changelog" goal if the maven.changelog.type property is "date". The log will contain changes made after this date. + If it is set to 'lastRelease', the date found for + the last release in changes.xml is used. The date format is that specified by maven.changelog.dateformat if present; otherwise, the format is yyyy-MM-dd.