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