Stefan Bohn created SCM-792:
-------------------------------

             Summary: ClearCase Provider and  Changelog Plugin- Revision is null
                 Key: SCM-792
                 URL: https://jira.codehaus.org/browse/SCM-792
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-clearcase
    Affects Versions: 1.9.2
            Reporter: Stefan Bohn


ClearCaseChangeLogConsumer#processGetRevision

The revision is only set to the currentChangeSet, not the currentFile (line 219)

org.apache.maven.scm.ChangeSet#toXml

The revision is only read from the ChangeFile entries (line 536)

So an entry in changlog.xml has revision set to null:

{noformat}
<changelog-entry>
    <date pattern="yyyy-MM-dd">2015-02-13</date>
    <time pattern="HH:mm:ss">08:33:56</time>
    <author><![CDATA[xyz]]></author>
    <file>
        <name>src\main\resources\xyz</name>
        <revision>null</revision>
    </file>
    <msg><![CDATA[checkin      - checkin -  - Activity: xyz]]></msg>
</changelog-entry>

{noformat}






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

Reply via email to