ArrayindexoutofBoundsException rewriting the Poms for release -------------------------------------------------------------
Key: MRELEASE-236 URL: http://jira.codehaus.org/browse/MRELEASE-236 Project: Maven 2.x Release Plugin Issue Type: Bug Affects Versions: 2.0-beta-6 Reporter: William Ferguson Priority: Blocker Attachments: Stacktrace.txt Just testing out maven-release-plugin-2.0-beta-6 prior to release and noticed that it always fails on release:prepare when it is rewriting the Poms. Looking at the source code, the while loop at lines 249:252 of RewritePomsForReleasePhase class will always iterate past the end of the char arrays. I'm not sure, but I suspect the appropriate soltuion is to check to ensure that i < tagPathChars.length and i < trunkPathChars.length within the loop and if so to break. -- 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