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

AnnotateConsumer fails to parse author name if name contains dot

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.11.1
    • Labels:
      None

      Description

      AnnotateConsumer fails to parse author name if accurev user name contains dot (".")

      Sample annotation output that contains user name with dot

            10 john.x.doe 2017/12/13 15:10:34   buildscript {
            10 john.x.doe 2017/12/13 15:10:34       repositories {
            10 john.x.doe 2017/12/13 15:10:34           mavenCentral()
            10 john.x.doe 2017/12/13 15:10:34       }
            10 john.x.doe 2017/12/13 15:10:34       dependencies {
            10 john.x.doe 2017/12/13 15:10:34          
            10 john.x.doe 2017/12/13 15:10:34       }
            10 john.x.doe 2017/12/13 15:10:34   }
      

      Exception Details:

      Caused by: java.lang.RuntimeException: Unable to parse annotation from line:       10 john.x.doe 2017/12/13 15:10:34   buildscript {
      	at org.apache.maven.scm.provider.accurev.cli.AnnotateConsumer.consumeLine(AnnotateConsumer.java:69)
      	at org.apache.maven.scm.provider.accurev.cli.CommandOutputConsumer.consumeLine(CommandOutputConsumer.java:51)
      	at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:190)
      	at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:135)
      

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              indusbull Rahul Maheshwari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: