You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennys Hsieh (JIRA)" <ji...@codehaus.org> on 2010/11/15 16:33:03 UTC

[jira] Created: (MCHANGELOG-116) java.text.ParseException: Unparseable date

java.text.ParseException: Unparseable date
------------------------------------------

                 Key: MCHANGELOG-116
                 URL: http://jira.codehaus.org/browse/MCHANGELOG-116
             Project: Maven 2.x Changelog Plugin
          Issue Type: Bug
    Affects Versions: 2.2
         Environment: Maven: 2.2.1
maven-changelog-plugin: 2.2
maven-scm-provider-clearcase: 1.4
SCM is ClearCase 7.x
            Reporter: Dennys Hsieh
         Attachments: pom.xml

I can use Maven to get the source code from ClearCase and build file. And I want to use the changelog plugin and my goal is "-e clean -Dmaven.test.skip=true compile package changelog:changelog"

But I got the following error. I'm not sure this is changelog's error or clearcase plugin's. Is there any suggestion for it?

java.text.ParseException: Unparseable date: "20101011.160459"
 at java.text.DateFormat.parse(DateFormat.java:337)
 at org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:112)
 at org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:68)
 at org.apache.maven.scm.provider.clearcase.command.changelog.ClearCaseChangeLogConsumer.processGetDate(ClearCaseChangeLogConsumer.java:161)
 at org.apache.maven.scm.provider.clearcase.command.changelog.ClearCaseChangeLogConsumer.consumeLine(ClearCaseChangeLogConsumer.java:120)
 at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:195)
 at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:144)
[ERROR] skip ParseException: Unparseable date: "20101011.160459" during
parsing date 20101011.160459 with pattern yyyy-MM-dd HH:mm:ss with Locale en

btw, I found http://jira.codehaus.org/browse/MCHANGELOG-115, but I'm not sure is it the same problem because it's environment is subversion.

-- 
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