Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-rc1
-
None
-
Windows XP
Description
I tried to supply a date format to the date I supplied on the command line to the change log mojo. I noticed it complained that I was specifying the wrong format. Looking at the code it looks like the param associated with the userDateFormat is "dateFormat" instead of "userDateFormat".
/**
- Date format to use for the specified startDate and/or endDate.
* - @parameter expression="${dateFormat}" default-value="yyyy-MM-dd"
*/
private String userDateFormat = DEFAULT_DATE_FORMAT;
I think that this should be "${userDateFormat}"
To test I ran :
mvn -DscmVersion=branch-1.0 -DscmVersionType=branch -DstartDate=18 -DuserDateFormat=K -scm:changelog