You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/05/02 14:45:10 UTC

[jira] (MCHANGES-230) Add ability for changes-check to validate that the changes.xml release date is the day of the release

    [ https://jira.codehaus.org/browse/MCHANGES-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=345673#comment-345673 ] 

Michael Osipov commented on MCHANGES-230:
-----------------------------------------

Checking can be quite complex because

1. If you supply a date with a different timezone, you need to normalize to UTC and check then
2. If realease happens during a CI build over midnight, you're lost

and probably other stuff.

The main question is, how far should this go?

> Add ability for changes-check to validate that the changes.xml release date is the day of the release
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-230
>                 URL: https://jira.codehaus.org/browse/MCHANGES-230
>             Project: Maven Changes Plugin
>          Issue Type: New Feature
>          Components: changes.xml
>    Affects Versions: 2.4
>            Reporter: Philip Maher
>
> I like the functionality included in the changes-check in MCHANGES-140.  It would be nice, in addition to checking the format of the date, if an option could be added to have it check to see if the date of the release in the changes.xml is the current date when the goal is run.  I would like to be able to have release:prepare or release:perform fail if the changes.xml did not have the right day.  This definitely should be an option that is off by default.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)