Date format not understood by CVS
---------------------------------

                 Key: MCHANGELOG-56
                 URL: http://jira.codehaus.org/browse/MCHANGELOG-56
             Project: Maven 2.x Changelog Plugin
          Issue Type: Bug
         Environment: CVS 1.12.13, Linux 2.6.18-4-xen-686 #1 SMP Thu Jan 25 
02:34:40 UTC 2007 i686 GNU/Linux
            Reporter: Stefan Seidel


In my pom.xml:
{code}
  <reportings>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
      </plugin>
  ...
{code}

mvn site output:

{code}
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building ReportingsPortlet
[INFO]    task-segment: [site]
[INFO] 
----------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [site:site]
[INFO] Skipped "About" report, file "index.html" already exists for the English 
version.
[INFO] Generate "Change Log" report.
[INFO] Generating changed sets xml to: 
/home/stefan/workspace/alles/xpm-portal/portlets/Reportings/target/changelog.xml
[INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log -d 
2007-01-29T15:46:22+0100<2007-03-01T15:46:22+0100
[INFO] Working directory: 
/home/stefan/workspace/alles/xpm-portal/portlets/Reportings/src/main/java
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs [log aborted]: Can't parse date/time: `2007-01-29T15:46:22+0100'

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: An error is occurred during 
changelog command : 
Command failed.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Feb 28 15:46:22 GMT+01:00 2007
[INFO] Final Memory: 20M/116M
[INFO] ------------------------------------------------------------------------
{code}

It is understandable, because this CVS version just does not support this 
strange date format.
Running
{code}
cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/home/cvs -q log -d "2007-01-29 
15:46:22 +0100<2007-03-01 15:46:22 +0100"
{code}
on the command line instead does work.

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