[ 
http://jira.codehaus.org/browse/MRELEASE-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MRELEASE-436.
---------------------------------

      Assignee: Olivier Lamy
    Resolution: Duplicate

due to core issue MNG-2190

> Spaces in scmCommitPrefix cause errors in attempting to release
> ---------------------------------------------------------------
>
>                 Key: MRELEASE-436
>                 URL: http://jira.codehaus.org/browse/MRELEASE-436
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform, prepare
>    Affects Versions: 2.0-beta-9
>         Environment: Maven 2.0.9 JDK 1.5
>            Reporter: Mykel Alvis
>            Assignee: Olivier Lamy
>
> $ mvn -B -DscmCommentPrefix="CM-524 "  release:prepare
> ---------------------------------------------------
> constituent[0]: file:/opt/maven/lib/maven-2.0.9-uber.jar
> ---------------------------------------------------
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at 
> java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:146)
>         at java.lang.StringBuffer.setLength(StringBuffer.java:154)
> {rest removed}
> The space scmCommentPrefix seems to cause this, since
>   mvn -B -DscmCommentPrefix="CM-524_"  release:prepare
> works correctly.

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