[ 
http://jira.codehaus.org/browse/SCM-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Venisse updated SCM-311:
---------------------------------

         Assignee: Emmanuel Venisse
    Fix Version/s: 1.0

> Can not supply user date format for ChangeLog Mojo on command line
> ------------------------------------------------------------------
>
>                 Key: SCM-311
>                 URL: http://jira.codehaus.org/browse/SCM-311
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-plugin
>    Affects Versions: 1.0-rc1
>         Environment: Windows XP
>            Reporter: Peter Hayes
>            Assignee: Emmanuel Venisse
>             Fix For: 1.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to