Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-792

ClearCase Provider and Changelog Plugin- Revision is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.9.2
    • None
    • None

    Description

      ClearCaseChangeLogConsumer#processGetRevision

      The revision is only set to the currentChangeSet, not the currentFile (line 219) (it should only be set to currentFile, because cleartool lshistory output is file based)

      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:

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            bohni Stefan Bohn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: