You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/08/13 21:44:00 UTC

[jira] [Closed] (SCM-857) AnnotateConsumer fails to parse author name if name contains dot

     [ https://issues.apache.org/jira/browse/SCM-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed SCM-857.
------------------------------
    Resolution: Fixed

Fixed with [7ee2b5a73d09f3822cb6e775bc52f84f80acdb83|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=7ee2b5a73d09f3822cb6e775bc52f84f80acdb83].

> AnnotateConsumer fails to parse author name if name contains dot
> ----------------------------------------------------------------
>
>                 Key: SCM-857
>                 URL: https://issues.apache.org/jira/browse/SCM-857
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-accurev
>    Affects Versions: 1.9.5
>            Reporter: Rahul Maheshwari
>            Assignee: Michael Osipov
>            Priority: Critical
>             Fix For: 1.10.1
>
>
> AnnotateConsumer fails to parse author name if accurev user name contains dot (".") 
> Sample annotation output that contains user name with dot
> {code:java}
>       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   }
> {code}
> Exception Details: 
> {code:java}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)